Home » 2022 » August » 05

Dear readers we have an assignment to do where we have to print a pyramid of numbers.

The user can enter a number as input and for that number as as range the pyramid of numbers should be printed.

 

So if the user enters 5, the number pyramid should look like this:

 

number pyramid


So we are going to write a proram to generate this pyramid pattern.

Basically we are going to use FOR loop to achieve this.

I have include the full tutorial here to create this program

... Read more »

Category: Programming Languages | Views: 997 | Added by: shanky | Date: 2022-08-05 | Comments (0)