Using the switch statement, write a menu driven program for the following:
(a)
5
5 4
5 4 3
5 4 3 2
5 4 3 2 1
(b) To display the following pattern:
1 2 3 4 #
1 2 3 # 5
1 2 # 4 5
1 # 3 4 5
# 2 3 4 5
For an incorrect option, an appropriate error message should be displayed.
Answers
Answered by
0
Answer:
I think the correct answer is b
plz mark me brainlist
Similar questions