View Code of Problem 26

import java.util.Scanner;

public class Main {


    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        Integer get = Integer.valueOf(scanner.nextLine());
        double result = 5 / 9 * (get - 32);
        System.out.println(String.format("%.2f", result));
    }


}

Double click to view unformatted code.


Back to problem 26