Need Assistance with Coding
Create the following program which converts Fahrenheit to Celsius. Your program must have the following functions:
a) Read integer Fahrenheit temperatures from the user. You need to check whether the input is the correct one or not. If the user enters the incorrect number, ask it again.
b) Use the formula: Celsius = (Fahrenheit ± 32) * 5.0 / 9.0
- The output Celsius should be a floating point with two digits of precision.
- The Celsius temperatures should be displayed with a sign of positive or negative.
- The program should ask the user to continue or not. If the user wants to do the conversion again, use repetitive statements such as DO WHILE, FOR, or IF THEN ELSE to do the conversion again.
- Add comments to explain the functions of the program.
- Code the following display at the end of your program:
System.out.println(“HELLO INSTRUCTOR yourInstructor’sLastName, THIS IS THE INF231 FINAL ASSIGNMENT FOR: yourname”);
9 years ago 20
Answer(2)
Purchase the answer to view it
NOT RATED
- java.zip
Purchase the answer to view it
NOT RATED
- screenshot_temperautreconversion.jpg
- temperatureconversion.zip
Bids(1)
other Questions(10)
- assignment red19
- Industrial Hygiene HW
- Which of the following is (are) most likely to be produced under conditions resembling perfect competition
- What normal assumptions of data are not followed when using non-parametric statistical tests?
- algebra
- SOC 313 Week 2 DQs. Get an A++.
- Need attached tomorrow.
- bonds
- What roles do ethical values play in our society today?
- polpol