C Essentials Part 1 Module 3 Test Apr 2026
if (sum > 100) printf("HIGH"); else if (sum >= 50 && sum <= 100) printf("MEDIUM"); else printf("LOW"); Run again. 20 40 → LOW . 45 30 → MEDIUM . 80 30 → HIGH . Perfect.
One last question: "Which statement correctly reads a single character and ignores whitespace?" She chose: scanf(" %c", &ch); — the space before %c consumes newline or space. c essentials part 1 module 3 test
The terminal glowed green: .
She stared. Why both "MEDIUM" and "LOW"? if (sum > 100) printf("HIGH"); else if (sum
Recent Comments