Question & Answer: CURRENCY CONVERTER Write a program that will display the following output. Firs…..

Question 2: CURRENCY CONVERTER Write a program that will display the following output. First, the user will select the currency to be converted and enter input MYR value by blank. The value will be displayed in currency ftware/program in a flow chart and discuss the advantages and disadvantages of your program. Include suggestions for future improvements in the assignment Example: The program is to convert Malaysia Ringgit (MYR) to other currencies. Currency converter 1) Singapore Dolar (SGD) 2) United States Dollar (USD) 3) Australia Dollar (AUD) 4) Euro (EUR) 5) India Rupee (INR) Please enter your choice (1-5) to be converted:_2_ Please enter MYR value: 1000 The value in Australia Dollar (AUD) is: AUD-232.59-_. The C++ prog. Should be done with : 1) software is clearly shown
2) Detailed flowchart
3) coding done with excellent programming skills
4) Excellent discussion

Question 2: CURRENCY CONVERTER Write a program that will display the following output. First, the user will select the currency to be converted and enter input MYR value by blank. The value will be displayed in currency ftware/program in a flow chart and discuss the advantages and disadvantages of your program. Include suggestions for future improvements in the assignment Example: The program is to convert Malaysia Ringgit (MYR) to other currencies. Currency converter 1) Singapore Dolar (SGD) 2) United States Dollar (USD) 3) Australia Dollar (AUD) 4) Euro (EUR) 5) India Rupee (INR) Please enter your choice (1-5) to be converted:_2_ Please enter MYR value: 1000 The value in Australia Dollar (AUD) is: AUD-232.59-_.

Expert Answer

 

1. Set up a C/C++ compiler to run the code
There are IDEs are Borland Turbo C++, CodeBlocks, Eclipse, Dev C++, Visual C++.

3.

#include <iostream>

using namespace std;

int main()
{
// 1RM =0.317043313 SGD, 1RM=0.232776 USD, 1RM = 0.295580805 AUD, 1RM = 0.197169847 EUR, 1RM = 14.9335514 INR
float currency;
cout<<“Enter the amount in MYR(RM):- “;
cin>>currency;
int select;
cout<<” Enter 1 to convert the amount to SGD n Enter 2 to convert the amount to USD n Enter 3 to convert the amount to AUD n enter 4 to convert the amount to EUR n Enter 5 to convert the amount to INR”<<endl;
cin>>select;
switch(select)
{
case 1:
cout<<currency<<” RM = “<<(currency*0.317043313)<<” SGD”<<endl;
break;
case 2:
cout<<currency<<” RM = “<<(currency*0.232829)<<” USD”<<endl;
break;
case 3:
cout<<currency<<” RM = “<<(currency*0.295580805)<<” AUD”<<endl;
break;
case 4:
cout<<currency<<” RM = “<<(currency*0.197169847)<<” EUR”<<endl;
break;
case 5:
cout<<currency<<” RM = “<<(currency*14.9335514)<<” INR”<<endl;
break;
}
return 0;
}

4. In above code you want the value accordingly based on the recent value to get accurate updated result.

2.

Still stressed from student homework?
Get quality assistance from academic writers!