Monday, March 14, 2011

C++ program that converts Dollars in Yen,Pounds,Francs etc

This is a beginner question, write a program that takes input in Dollars and converts them in Pounds, Yen etc and displays it. Here is how I have written it

#include
using namespace std;
void main()
{
float number=0.0;
cout<<"Enter Amount in Dollars: "; cin>>number;
cout<<"Conversion in:\nPounds: "< cout<<"\nDeutshemark: "< }

No comments:

Post a Comment

Please comment, if you like the post, you find any mistake or if you have any query.