Hi there guys need a little help and direction on this. I have to write a program that asks the user to enter 10 double numbers and do the below.
-Store information in a 10-element array.
-Display 10 numbers back to the user.
here's what I have so far
int i = 0;
printf( "Please enter 10 double numbers: " );
scanf( "%s", astring );
for ( i = 0; i < 10; ++i )
if ( astring[i] == 'a' )
printf( "The 10 double numbers you selected where, %s", astring );