In java using switch case statement write a menu driven program for the following
Attachments:
![](https://hi-static.z-dn.net/files/dd3/d3ad5a50a938d30e1df0c1d5b391ee1a.jpg)
Answers
Answered by
2
Answer:
Explanation:
a=1
switch(a)
{
case 1:
case 2:
case 3:
case4:
case5:for(int b=0;b<a;b++)
System.out.print(a);a++; System.out.println();
}
smae is to be done for second program
Similar questions
Math,
6 months ago
Physics,
6 months ago
English,
6 months ago
History,
1 year ago
Computer Science,
1 year ago