+ 2
Fill in the blanks to print corresponding text representations of numbers using the switch statement:
______(num) { case 1: printf("one"); break; _____ 2: printf("two"); ______; case 3: printf("three"); break; }
4 Answers
+ 2
switch (num) {
case 1:
printf("One");
break;
case 2:
printf("Two");
break;
case 3:
printf("Three");
break;
}
+ 1
ohhh much effort
For this purposes your smartphone has a camera to make a photo of your homework .
+ 1
Novita,
You should continue your study in C, this thing is covered in "Conditionals and Loops" module. Once you get to that part you'll learn how to use the `switch` statement
https://www.sololearn.com/learn/C/2924/
0
mabeye show us what you put? then we can help by explaining why or referring you to the right lesson