To my fellow NACOSITEs; Ans to the Q1. Java program to convert - TopicsExpress



          

To my fellow NACOSITEs; Ans to the Q1. Java program to convert Fahrenheit to Celsius: This code does temperature conversion from Fahrenheit scale to Celsius scale. java.util.*; class FahrenheitToCelsius { public static void main(String[] args) { float temperatue; Scanner in = new Scanner (System.in); System.out.println ("Enter temperatue in Fahrenheit"); temperatue = in.nextInt(); temperatue = (temperatue - 32)*5/9; System.out.println ("Temperatue in Celsius = " + temperatue); } }
Posted on: Thu, 26 Sep 2013 18:11:02 +0000

Trending Topics



Recently Viewed Topics




© 2015