Answers for "fahrenheit to celsius converter online"

C
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
1

fahrenheit to celsius

fORMULA TO FIND CELSIUS TO fahrenheit .

(32°F − 32) × 5/9 = 0°C
Posted by: Guest on April-22-2021

Code answers related to "fahrenheit to celsius converter online"

Code answers related to "C"

Browse Popular Code Answers by Language