top of page

PROGRAMMING CHALLENGES

Temperature Converter

Difficulty:

1 Easy

3 Selection

Topic:

Write a program that reads the temperature in Celsius and outputs a message indicating whether the temperature is below freezing, above boiling, or within the normal range. Assume that the freezing point is 0°C and the boiling point is 100°C.

INPUTS: Temperature in Celsius (float)PROCESSES:1. Accept user input for temperature in Celsius2. Use selection statements to check if the temperature is below 0°C, above 100°C, or between 0°C and 100°COUTPUTS: Message indicating the temperature range (string)







Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page