Write this program using switch case statement.
Attachments:
Answers
Answered by
6
Answer:
Please mark me aise brainliest
Attachments:
Answered by
0
Answer:
i am reshmaa.m.b of 9E and i hope it gives you a smile*from vikaasa*
Explanation:
int c,a;
switch (a) {
case '100':
c=a*2;
System.out.println("c =" +c);
break;
case '200':
c=a*4;
System.out.println("c =" +c);
break;
case '600':
c=a*10;
System.out.println("c =" +c);
break;
default:
System.out.println("Wrong input");
}
Similar questions