C Language program to convert rupees to dollars
Following program shows you how to convert rupees to dollars
In this program we get rupees from user, once we get those we need to divide with 64 so that we get in dollars
#include <stdio.h>
int main(void) {
float rupees;
printf("Please enter rupees:");
scanf("%f", &rupees);
float dollars = rupees / 64;
printf("%f Dollars", dollars);
}
Output:
Please enter rupees: 2000
31.250000 Dollars