Question: (c++) 3- Write the C++ code for the next problem: Read from the user a currency value in Saudi Riyal (SAR) and Display it in
3- Write the C++ code for the next problem: Read from the user a currency value in Saudi Riyal (SAR) and Display it in US Dollar (USD), Euro (EUR) and Egyptian Pound (EGP) Hint: (1SAR=0.27 USD =0.27EUR=5.21EGP) Make this program does not accept negative values (Display an error message if the user enters the value smaller than Zero)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
