Question: Need help programing this code. (Convert USD into GBP) Write a program that reads a number of USD (US dollars), converts it to GBP (British

Need help programing this code. (Convert USD into GBP) Write a programNeed help programing this code.

(Convert USD into GBP) Write a program that reads a number of USD (US dollars), converts it to GBP (British Pounds), and displays the result. Use the exchange rate of 1.38 GBP for 1 USD. INPUT and PROMPTS.The program prompts for the number of USD with the message "Enter the number of USD: ". OUTPUT The output is of the form " x USD is y GBP" where x is the number of USD read in and y is the number of GBP computed by the program. CLASS NAMES. Your Program Class should be called USDToGBP SAMPLE RUN \#1: java USDToGBP Enter the number of USD: 1 d 1.60 USD is 0.85GPB

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!