Question : convert fahrenheit to celsius
Answered by : corey-williams
import java.util.Scanner;
public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int far = sc.nextInt(); int cel = (far - 32) * 5/9; System.out.printf("%d Fahrenheit is %d Celsius", far, cel); }
}
Source : | Last Update : Fri, 04 Sep 20
Question : -42 c to f
Answered by : sneh-parikh
°o°
Source : | Last Update : Thu, 08 Jul 21