Connect with one of the following accounts


Please wait while we redirect...

Views: 1146   

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 <iostream>
#include <math.h>

int main() {
    float rupees;
    std::cout << "Please enter rupees:";
    std::cin >> rupees;
    float dollars = rupees / 64;
    std::cout << dollars << " Dollars ";


Please enter rupees: 10000
156.25 Dollars

On By

Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News