i have an error message in my code ..
the question is :
write a C program that asks for input as US dollars and uses the function to display the output as GBP sterling. The current exchange rate is 1 GBP to 1.5207 USD.
if anyone could help me with it
my code :
i asked to do it with this line but i coudn't
int input = 0;
printf( "\nPlease enter a dollar amount to exchange to GBP: " );
scanf( "%d", &input );
if ( input > 0 )
printf ("Great Britian: = "%f"/ 1.5207\n",GBP);
} while ( input< 20 );
double gbp_to_usd( double );