You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XiaoMāo edited this page Oct 15, 2026
·
1 revision
Temperature-Converter
Type: Bro Code course project
Date: Sept 2026
Concepts:char input, scanf("%c", ...), if / else if / else
What it does
Presents a menu to convert temperature between Celsius and Fahrenheit, with error handling for invalid menu selections.
What I learned
The structure is like the Weight-Converter-Program but uses a char for the menu choice. Comparisons like choice == 'C' are case-sensitive, so lowercase input fell into the invalid branch. I fixed that later with toupper() in the Quiz-Game.