Using loops to draw patterns(Pyramid) @ Dcoder
8 Jul 2023 1 minute read 0 comments Lochard
Problem: Draw the pattern specified using loops. Input: Output: The pattern as shown in sample output. First line contain 4 space and 1 star, next line contains 3 space and 3 stars and so on.. Constraints: Try not to hardcode the output. Sample Inpu...