if-else Operator Practice
A Program Alerting High Temperature
main.c
123456789101112131415161718#include <stdio.h> int main() { int temperature = 200; // in celsius if (temperature > 80) { printf("Temperature is so high: %d degrees Celsius\n", temperature); } else { printf("Temperature is normal: %d degrees Celsius\n", temperature); } return 0; }
Taak
Swipe to start coding
Construct a calculator that divides numbers, but only if neither of the numbers is zero.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 2
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 2.63
if-else Operator Practice
Veeg om het menu te tonen
A Program Alerting High Temperature
main.c
123456789101112131415161718#include <stdio.h> int main() { int temperature = 200; // in celsius if (temperature > 80) { printf("Temperature is so high: %d degrees Celsius\n", temperature); } else { printf("Temperature is normal: %d degrees Celsius\n", temperature); } return 0; }
Taak
Swipe to start coding
Construct a calculator that divides numbers, but only if neither of the numbers is zero.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Awesome!
Completion rate improved to 2.63Sectie 4. Hoofdstuk 2
single