Connect with one of the following accounts


Please wait while we redirect...

Views: 1499   

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

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


Please enter dollars: 1300
83200 Rupees

On By

Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News