Question: Fahrenheit to Celsius Converter Create a Java console program that prompts the user for a floating point (i.e. double) Fahrenheit degree value and then returns
Fahrenheit to Celsius Converter
Create a Java console program that prompts the user for a floating point (i.e. double) Fahrenheit degree value and then returns the equivalent value in Celsius degrees formatted to display two decimal places. Output should be a complete sentence (i.e. "Celsius value of Fahrenheit value F is C." replacing F with the input value and C with the calculated output value.) Your program should be bullet-proofed so the user cannot break it with illegal input.
Code your program to use best industry practice. It should be properly formatted and indented, commented, and use meaningful variable names.
Test your program with several know values to insure that it is correct: 212F = 100C, 32F = 0C.
Submit your complete Netbeans code folder as a zip file. Your project must be named LastnameFirstnameHW8.
Although there are multiple ways to complete this assignment, here are some helpful hints about things that we covered as a class:
* output formatting - "printf()" instead of print() or println() * Do While loops - repeat a question until a user gives you a valid response * Scanner.HasNextDouble() - method to ascertain whether or not the next item the scanner is about to read works as a double data type
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
