younis abdeljawwad

younis abdeljawwad

  • NA
  • 73
  • 96.7k

write a c++ program that reads an integer

Mar 6 2013 6:58 AM
write a c++ program that reads an integer that represents the amount of money in NIS. And read a character that represents the type of currency you want to convert to. For example: - 'J' for JD, 'D' for dollar and 'E' for Euro. Then you program should convert the input amount of money to the corresponding currency by using the switch selection structure.
Hint
currency
Amount in NIS
JD
5.3
Euro
5.5
US dollar
3.7
 

Answers (4)