Computer Science, asked by pratishmoses, 7 months ago

Write a program in JAVA which will ask the user to input a choice ch and the height of the triangle h and print either of the following patterns based on the user’s selection. Ch=1 h=4
output :
1
12
123
1234
Ch=2 h=5 output :
12345
1234
123
12
1

Answer it correctly to be marked brainliest!!!..​​

Answers

Answered by Anonymous
0

Explanation:

Sorry I can't understand your question

Similar questions