Kizspy | Question: 24
(Choose 1 answer)
Why the following code is wrong?
#include<stdio.h>
int main(){
int choice;
scanf("%d",&choice);
switch(choice){
case 1.5:
printf("You choice 1.5");case 2.3:printf("You choice 2.3");
} return 0;
FUOVER
}
A. The case label is the real number
B. Missing "break" command
C. Missing "default" command
D. The variable name is wrong