NALLAMUTHU GOUNDER MAHALINGAM COLLEGE
POLLACHI-642001
N.DHIVYA
BSC COMPUTER SCIENCE(1st year)
15.USD TO INR
#include <iostream>
int main()
{
double
inr,usd;
double
dollar;
std::cout<<"Enter
the US dollar:"<<std::endl;
std::cin>>usd;
std::cout<<"enter the value for one us
dollar"<<std::endl;
std::cin>>dollar;
inr=usd/(1.0/dollar);
std::cout<<"The indian ruppee for us
dollars="<<inr;
return 0;
}
OUTPUT: