Question
Hi please help me code this and finish the blanks please, Thank you! Write a static method that will convert s temperature in Fahrenheit to
Hi please help me code this and finish the blanks please, Thank you!
Write a static method that will convert s temperature in Fahrenheit to Kelvin. The method will be given the temperatures in Fahrenheit and must return the temperature in Kelvin. Tne formula for converting Fahrenheit to Kelvin is : Kelvin = (5/9)*(Fahrenheit-32)+273.15.
class program{
static void main(String[]args){
System.out.println(Convert(95.9));//print 308.65
System.out.println(Convert(35.6));//print 275.15
System.out.println(Convert(32));//print 273.15
}
public BLANK Convert(BLANK){
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started