NALLAMUTHU GOUNDER MAHALINGAM COLLEGE
POLLACHI-642001
R.Rasigapriya
Bsc Computer Science(Ist Year)
15.USD
TO INR
#include <iostream>
int main()
{
double inr,usd;
double rate;
std::cout<<"Enter the USD"<<std::endl;
std::cin>>usd;
std::cout<<"Enter the indian rate for the
USD"<<std::endl;
std::cin>>rate;
inr=usd/(1.0/rate);
std::cout<<"The Indian rupee for the USD
is\t"<<inr<<std::endl;
return 0;
}
OUTPUT: