Computer Science, asked by kulsumf651, 17 days ago

write a program to convert dollar to rupees (Assume 1 dollar = 65 rupees)​

Answers

Answered by pranavithass
0

Answer:

int main(void) {

float dollars;

printf("Please enter dollars:");

scanf("%f", &dollars);

float rupees = dollars * 70;

printf("%f Rupees", rupees);

Explanation:

int main(void) {

float dollars;

printf("Please enter dollars:");

scanf("%f", &dollars);

float rupees = dollars * 70;

printf("%f Rupees", rupees);

Similar questions