Write the following switch statement by using nested if statement -
switch (choice)
{
case 0 :
case 1 :
x = 11;
y = 22;
break;
case 2 :
x = 33;
y = 44;
break;
default:
y = 55;
break;
PLEASE DON'T POST IRRELEVANT ANSWERS....
Answers
Answered by
0
Answer:
Write the following switch statement by using nested if statement -
switch (choice)
{
case 0 :
case 1 :
x = 11;
y = 22;
break;
case 2 :
x = 33;
y = 44;
break;
default:
y = 55;
break;
PLEASE DON'T POST IRRELEVANT ANSWERS....
Explanation:
Write the following switch statement by using nested if statement -
switch (choice)
{
case 0 :
case 1 :
x = 11;
y = 22;
break;
case 2 :
x = 33;
y = 44;
break;
default:
y = 55;
break;
PLEASE DON'T POST IRRELEVANT ANSWERS....
Similar questions