Lets see the code:
#include <stdio.h>
double convert(void);
int main(void){
double taka;
taka=convert();
printf("In taka= %0.2lf\n",taka);
return 0;
}
double convert(void)
{
double dollars,multi_value;
multi_value=80.0;
printf("enter dollar amount: \n");
scanf("%lf", &dollars);
return dollars*multi_value;
}
Output:
It is really great.But if you face any problem or have any question,please comment below.
