1.

Write a program to print the following patterns ** #* # ** # * #​

Answer»

Algorithm. Accept the NUMBER of rows from the USER to form pyramid SHAPE Iterate the loop till the number of rows specified by the user: Display 1 star in the first ROW Increase the number of stars based on the number of rows.Explanation:hope it's helps you



Discussion

No Comment Found