Computer Science, asked by pragyatunwalxa, 15 hours ago

Write a menu driven program using switch case statement in java to display the pattern
1 2 3 4 5 4 3 2 1
1 2 3 4 3 2 1
1 2 3 2 1
1 2 1
1
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1
1 2 3 4 5 4 3 2 1
( using scanner class)​

Answers

Answered by Devilgirl9825
2

Answer:

Using the switch statement, write a menu driven program for the following:

(a) To print the Floyd's triangle:

1

2 3

4 5 6

7 8 9 10

11 12 13 14 15

(b) To display the following pattern:

I

I C

I C S

I C S E

For an incorrect option, an appropriate error message should be displayed.

Answered by ks0140422
0

Answer:

to tum kyu question karte ho ?

Explanation:

khud para karo ?

Similar questions