Boss: Celsius to Fahrenheit

Complete the previous lesson to unlock this one.

Back to the path

Boss: Celsius to Fahrenheit

Level 2: Values. A typical Easy arithmetic item: read a value, apply a formula with DIV, output an integer.

Read a Celsius temperature (integer). Convert with:

F = C × 9 DIV 5 + 32

Output the Fahrenheit value as an integer — only the number, no words like "degrees". Exam answers are marked on the value alone.

Example: input 100 → output 212 (just OUTPUT Fahrenheit).