Monday, 20 March 2017

to find temperature in fahrenheit

class temp
{
public static void main(String[] args)
{
double c,f;
c=80;
f=c*9/5+32;
System.out.println("Temperature in Fahrenheit "+f);
}

No comments:

Post a Comment