Question : fahrenheit to celsius formula
Answered by : michael-khanna
cels = (fahr - 32.0) * 5.0/9.0; //Fahr to cels
fahr = (cels * 9.0/5.0) + 32.0; //Cels to fahr
Source : | Last Update : Mon, 28 Dec 20
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 : celsius to fahrenheit formula
Answered by : friendly-ferret-hy0565o84npf
float cel;
printf("Enter celsius value: ");
scanf("%f", &cel);
printf("Fahrenhit value is: %f", cel * (9 / 5) + 32);
Source : | Last Update : Sat, 19 Jun 21