1. Write a program that reads a Celsius degree in a double value from the console, then converts it to Fahrenheit and displays the result. The formula for the conversion is as follows: fahrenheit (9 /...


1. Write a program that reads a Celsius degree in a double value from the console, then<br>converts it to Fahrenheit and displays the result. The formula for the conversion is as<br>follows:<br>fahrenheit<br>(9 / 5) * celsius + 32<br>Hint: In Java, 9/5 is 1, but 9.0 /5 is 1.8.<br>A sample run:<br>Enter a degree in Celsius: 43 JEnter<br>43 Celsius is 109.4 Fahrenheit<br>

Extracted text: 1. Write a program that reads a Celsius degree in a double value from the console, then converts it to Fahrenheit and displays the result. The formula for the conversion is as follows: fahrenheit (9 / 5) * celsius + 32 Hint: In Java, 9/5 is 1, but 9.0 /5 is 1.8. A sample run: Enter a degree in Celsius: 43 JEnter 43 Celsius is 109.4 Fahrenheit

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here