import java.util.*;
class ctof
{
public static void main(String args[])
{
double c,f;
Scanner sc=new Scanner(System.in);
System.out.println("Enter the Centigrade");
c=sc.nextDouble();
f=1.8*c+32;
System.out.println("Fahrenheit="+f);
}
}
Output-
Enter the Centigrade
5
Fahrenheit=41.0