Function Main
Declare Integer i, j, space, rows, k
Output "Input number of rows : "
Input rows
Assign space = rows+4-1
For i = 1 to rows
For k = space to 1 decreasing
Output " "
End
For j = 1 to i
Output "* "
End
Output ""
Assign space = space -1
End
End
I am Md. Anisur Rahman. I have completed Cyber Security for MSCSE at United International University in 2022.I have completed PGDIT from IIT, Jahangirnagar University in 2020. I'm a Head of IT at Programming24 School.
View all posts by Md. Anisur Rahman