Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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.85GPBStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started