Question: Problem Description and Given Info Write a public static method named FahrenheitToKelvin that will take a single argument of type double and will return a

Problem Description and Given Info
Write a public static method named FahrenheitToKelvin that will take a single argument of type double and will return a double. When called, and passed a temperature value (in Fahrenheit), this method must compute and return the Kelvin temperature equivalent. You must also write a small program in the main method that will:
prompt the user to enter a temperature value in Fahrenheit
collect and store the user's input in a double variable
call the FahrenheitToKelvin method, passing the user's input as an argument
store the value returned by the FahrenheitToKelvin method in another double variable
Display the Kelvin equivalent value as shown in the Examples below
Here are some examples of what the user should see when the program runs.
Example 1
Bnter temperature in Fahrenheit : 100
100.00 degrees Fahrenheit is 310.93 Kelvin
Example 2
Enter temperature in Fahrenheit : -20.25
-20.25 degrees Fahrenheit is 244.12 Kelvin
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: Fahrenheit to Kelvin formula
K=(F-32)59+273.15
 Problem Description and Given Info Write a public static method named

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!