Showing posts with label program that takes input in Dollars and converts them in Pounds. Show all posts
Showing posts with label program that takes input in Dollars and converts them in Pounds. Show all posts

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: "< }