Computer Science, asked by saniaseraj, 1 year ago

Please answer fast..No-6

Attachments:

Answers

Answered by Rumi123456789
4
import java.util.Scanner;
public class Temperature
{
public static void main(String args[])
{
Scanner in=new Scanner(System.in);
double c,f;
System.out.println(" Enter temperature in celsius :");
c=in.nextDouble();
f = ( ((9/5)*c) + 32));
System.out.println(" The fahrenheit temperature is :"+f);
}
}
Similar questions