Question: 9:47 ummoodle.umac.mo l CTM Ex02: (40%) Write a program that prompts the user to enter arn integer from 1 to 15 and displays a pyramid,
9:47 ummoodle.umac.mo l CTM Ex02: (40%) Write a program that prompts the user to enter arn integer from 1 to 15 and displays a pyramid, as shown in the following sample runs Sample 1 ess any key to continue Sample 2 8 9 10 11 8 9 10 11 12 13 8 9 10 11 12 13 14 15 8 9 10 11 12 13 14 15 16 17 8 9 10 11 12 13 14 15 16 17 18 19 8 9 10 11 12 13 14 15 16 17 18 19 20 21 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 2 3 456 78 910 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 ess any key to cont inue Sample 3 ou nust enter a number fron 1 to 15 ess any key to cont inue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
