Computer Science, asked by PHOENIX1243, 9 months ago

Question 1:
Write a program to generate a pattern of numbers in the form of a triangle or in the form
of an inverted triangle depending upon User's choice. For an incorrect choice, an
appropriate error message should be displayed
Sample Input
Choice 1 :
1
21
321
4321
54321
Choice 2 :
12345
5432
234
43
4​

Answers

Answered by vaishnavi9573
0

Explanation:

Better use indo asian language plzzzzz to make sure you get the right answer

Similar questions