#include <stdio.h>
int main(void) {
double fahrenheit, celsius;
int lower, upper, step;
lower = 0, upper = 300, step = 20, fahrenheit = lower;
while (fahrenheit <= upper) {
celsius = 5 * (fahrenheit - 32.0) / 9;
printf("%f\t%f\n", fahrenheit
, celsius
); fahrenheit = fahrenheit + step;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7Cglkb3VibGUgZmFocmVuaGVpdCwgY2Vsc2l1czsKCWludCBsb3dlciwgdXBwZXIsIHN0ZXA7CgkKCWxvd2VyID0gMCwgdXBwZXIgPSAzMDAsIHN0ZXAgPSAyMCwgZmFocmVuaGVpdCA9IGxvd2VyOwoJCgl3aGlsZSAoZmFocmVuaGVpdCA8PSB1cHBlcikgewoJCWNlbHNpdXMgPSA1ICogKGZhaHJlbmhlaXQgLSAzMi4wKSAvIDk7CgkJcHJpbnRmKCIlZlx0JWZcbiIsIGZhaHJlbmhlaXQsIGNlbHNpdXMpOwoJCWZhaHJlbmhlaXQgPSBmYWhyZW5oZWl0ICsgc3RlcDsKCX0KCXJldHVybiAwOwp9