Answers for "calculator pour convert farenheit to celcius"

11

convert fahrenheit to celsius

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);
    }
}
Posted by: Guest on August-28-2020
0

farenheit to celcius

(100°F − 32) × 5/9 = 37.778°C
Posted by: Guest on June-01-2021

Code answers related to "calculator pour convert farenheit to celcius"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language