Java program to convert the matric conversion
Answers
Answered by
0
Answer:
import java.util.*;
class FahrenheitToCelsius {
public static void main(String[]args) {
float temperature;
Scanner in = newScanner(System.in);
System.out.println("Enter temperature in Fahrenheit");
temperature = in.nextInt();
temperature = ((temperature -32)*5)/9;
System.out.println("temperature in Celsius = " + temperature);
Similar questions