Computer Science, asked by shabhanaismail8421, 4 months ago

(10)
Using switch statement, write a menu driven program to:
1. Square
2. Triangle
For (1) display the following square pattern
Z
Z
Z
Z
Z
Y Y
Y
Y
Y
X
X
X
х
x
W
W
W
W
W
V
V
V
V
V
For (2) display the following triangle pattern
3
3
6
3 6 9
3 6 9 12
3 6 9 12 15
For an incorrect choice, an appropriate error message should be displayed.​

Answers

Answered by Anonymous
1

Explanation:

Which class and which chapter

Similar questions