Connect with one of the following accounts


Please wait while we redirect...

Views: 514   

Following program shows you how to convert dollar to rupees.
In this program we get dollars from user, once we get those we need to multiply with 64 so that we get in rupees

#include <stdio.h>

int main(void) {
    float dollars;

    printf("Please enter dollars:");
    scanf("%f", &dollars);

    float rupees = dollars * 64;

    printf("%f Rupees", rupees);


Please enter dollars: 300
19200.000000 Rupees

On By

Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News