Write a C++z program that converts US Dollars to a different currency. The curre
ID: 3640227 • Letter: W
Question
Write a C++z program that converts US Dollars to a different currency. The currencies and Exchange rates are listed in the following table. the user is prompted with a menu of currency with its exchange rate. The user selects the currency and enters US dollars. The US dollars entered from the user should be greater than 0. The output currency should be displayed with only 2 decimal places.Currency- Canadian Dollar.... Exchange rate= 1.01615
Currency- Euro .... Exchange rate= 0.638490
Currency- Japanese Yen .... Exchange rate= 104.390
Currency- Mexican Peso .... Exchange rate= 10.4613
Currency- British Line .... Exchange rate=0.504285
Also.. how would i i write down the Input/processing/output. And the Pseudocode for this.
Explanation / Answer
/*Code is tested and meets your requirements*/ #include #include void main() { clrscr(); int ch,cont=1;; double usd,conv; while(cont!=0) { coutch; if(ch>=1 && chRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.