Answer to Question #219839 in C++ for ZAWAIAH BINTI MOHM

Question #219839

Write a complete program that will convert Malaysian Ringgit to Japanese Yen and

Singapore Dollar. The user will have to input an amount in Malaysian Ringgit and the

program will then display its equivalent amount in Japanese Yen and Singapore Dollar


1
Expert's answer
2021-07-23T17:31:01-0400
#include <iostream>

using namespace std;

int main()
{
    double ringgits;
    cout << "Enter the amount of Malaysian Ringgit: ";
    cin >> ringgits;
    cout << ringgits << " Malaysian Ringgit is:\n" << ringgits * 26.05 << " Japanese Yen\n" << ringgits * 0.32 << " Singapore Dollar";
    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS