int a ;
cin >>a;
if (a>2)
switch (a){
case 1 : {a =a+3; b=b+c}
case 3 : a++; break ;
case 6 : a = a+6;
case 8 : a = a+8;
default: a--:
}
else
a = a+2;
cout<<a<<b<<c;
plz give output
Answers
Answered by
1
Answer:
what is that
case 1
case 3 and then 6 and 8
pls also write the question then write the program
Answered by
0
Answer:
It will give compiler error because b and c are not declared with
datatype
Explanation:
Similar questions