Java Program for Fahrenheit to Celsius

Here is a simple program which will change Fahrenheit to celsius…

class CtoF
{
   public static void main(int C)
   {
       int F=32+(9*C)/5;
       System.out.println(“The Centrigrat of a nos :”+C);
       System.out.println(“The Farenhite of a nos :”+F);
    }
}

Add Comment