import java.util.*;
class Main {
public static void main
(String[] args
) { Scanner scanner
= new Scanner
(System.
in); System.
out.
println("Por favor indique um valor minimo:"); float min = scanner.nextFloat();
System.
out.
println("Agora indique um valor máximo:"); float max = scanner.nextFloat();
System.
out.
printf("Fahrenheit Celsius\n"); for (float i = min; i <= max; i += .5) {
System.
out.
printf("%6.2f %6.2f%n", i,
((i
- 32.0) * ( 5.0 / 9.0))); }
}
}
//https://pt.stackoverflow.com/q/250434/101
aW1wb3J0IGphdmEudXRpbC4qOwpjbGFzcyBNYWluIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKCQlTY2FubmVyIHNjYW5uZXIgPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOyAKCSAgICBTeXN0ZW0ub3V0LnByaW50bG4oIlBvciBmYXZvciBpbmRpcXVlIHVtIHZhbG9yIG1pbmltbzoiKTsKCSAgICBmbG9hdCBtaW4gPSBzY2FubmVyLm5leHRGbG9hdCgpOwoJICAgIFN5c3RlbS5vdXQucHJpbnRsbigiQWdvcmEgaW5kaXF1ZSB1bSB2YWxvciBtw6F4aW1vOiIpOwoJICAgIGZsb2F0IG1heCA9IHNjYW5uZXIubmV4dEZsb2F0KCk7CgkgICAgU3lzdGVtLm91dC5wcmludGYoIkZhaHJlbmhlaXQgQ2Vsc2l1c1xuIik7CgkgICAgZm9yIChmbG9hdCBpID0gbWluOyBpIDw9IG1heDsgaSArPSAuNSkgewoJICAgICAgICBTeXN0ZW0ub3V0LnByaW50ZigiJTYuMmYgICAgICU2LjJmJW4iLCBpLCAoKGkgLSAzMi4wKSAqICggNS4wIC8gOS4wKSkpOwoJICAgIH0KCX0KfQoKLy9odHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMjUwNDM0LzEwMQ==