- 1

Write a program that's allows the user to enter an amount in dollar and then display this value converted to these four units

British pound =1.47 $ French franc=0.172$ German Deutschemark=0.584$ Japanese yen=0.0955$

9th May 2017, 5:00 PM
mostafa salah
mostafa salah - avatar
2 Respuestas
+ 7
@mostafa salah you don't realize how copy pasting your homework will adversely affect you in the short and long term.
9th May 2017, 7:25 PM
seamiki
seamiki - avatar
+ 1
#include <iostream> using namespace std; int main(){ float amount; cout<<"Enter an amount in
quot;<<endl; cin>>amount; cout<<"British pound="<<amount*1.47<<"\n"<<"French franc="<<amount*0.142<<"\n"<<"German deutschemark="<<amount*0.584<<"\n"<<"Japnese yen="<<amount*0.0955<<endl; return 0; }
9th May 2017, 5:24 PM
Ninad
Ninad - avatar