Untitled
Anonymous
plain_text
03/03/2023 1:19 PM
344 B
16
Indexable
import java.util.Scanner;
public class Main
{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double fahrenheits = Double.parseDouble(scanner.nextLine());
System.out.printf("%.2f", (fahrenheits - 32) /1.8);
}
}
Editor is loading...