Please use Java.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter4: Making Decisions
Section: Chapter Questions
Problem 7E: Write a program named GuessingGame that generates a random number between 1 and 10. (In other words,...
icon
Related questions
Question

Please use Java.

Write a program that will collect, as input from the user, a temperature in Kelvin; and then compute and display the equivalent temperature
in Fahrenheit. the Kelvin temperature will be inputted as a double. The temperature in Fahrenheit will be computed and outputted as a
double.
Here are some examples of what the user should see when the program runs.
Example 1
Enter temperature in Kelvin : 100
100.00 degrees Kelvin is -279.67 degrees Fahrenheit
Example 2
Enter temperature in Kelvin : -20.25
-20.25 degrees Kelvin is -496.12 degrees Fahrenheit
For the given inputs, make sure that your program output looks exactly like the examples above (including spelling, capitalization,
punctuation, spaces, and decimal points).
Helpful Info: Kelvin to Fahrenheit formula
9
F = (K — 273.15) × 5 +32
Transcribed Image Text:Write a program that will collect, as input from the user, a temperature in Kelvin; and then compute and display the equivalent temperature in Fahrenheit. the Kelvin temperature will be inputted as a double. The temperature in Fahrenheit will be computed and outputted as a double. Here are some examples of what the user should see when the program runs. Example 1 Enter temperature in Kelvin : 100 100.00 degrees Kelvin is -279.67 degrees Fahrenheit Example 2 Enter temperature in Kelvin : -20.25 -20.25 degrees Kelvin is -496.12 degrees Fahrenheit For the given inputs, make sure that your program output looks exactly like the examples above (including spelling, capitalization, punctuation, spaces, and decimal points). Helpful Info: Kelvin to Fahrenheit formula 9 F = (K — 273.15) × 5 +32
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Introduction to computer system
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,