write a program to input temperature in Celsius convert and display Fahrenheit. F=1.8*c+32
please give full java programing my exam is there please help
Answers
Answered by
4
public class tempconverter
{
public static void main(double a)
{
System.out.println("You entered "+a+" to be converted to Fahrenheit.");
double b=1.8*a;
double c=b+32;
System.out.println("The given temperature will measure "+c+" in Fahrenheit scale");
}
}
Attachments:
Happy1234567890:
thanks
Similar questions