Design and implement a program that allows the user to enter into an array the price of 5 products in pounds sterling. The program should then copy this array into another array but convert the price of each product from pounds sterling to US dollars. The program should allow the user to enter the exchange rate of pounds to dollars, and should, when it terminates, display the contents of both arrays. Once again, make use of methods in your program to carry out these tasks.
Robert K Ankeny
Level 0
Design and implement a program that allows the user to enter into an array the price of 5 products in pounds sterling. The program should then copy this array into another array but convert the price of each product from pounds sterling to US dollars. The program should allow the user to enter the e
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Guadalupe Gagnon
6 May 2021, 17:54
and....
0