Pseudocode Compiler
Practice

Celsius to Fahrenheit

EASYArithmetic

Read a temperature in Celsius (integer). Convert it to Fahrenheit using the formula:

F = C × 9 DIV 5 + 32

Output the result as an integer.

Input: An integer Celsius temperature. Output: The Fahrenheit equivalent (integer).

Example:

Input:  100
Output: 212
Premium is coming soon. All grading features are currently unlocked.

Sample Test Cases

Test 1: Freezing point
Inputs: 0
Expected: 32
Test 2: Boiling point
Inputs: 100
Expected: 212
Test 3: Room temperature
Inputs: 20
Expected: 68
Press Ctrl+Enter to run your code
or Ctrl+Shift+Enter to grade