Star pattern - 1
Input: The number of lines to print stars.
Output: Star pattern.
V2 - Logic: We used 2 for loops.
V1 - Logic: We used simple fix approach of print to print 5 lines of *.
Output: Star pattern.
V2 - Logic: We used 2 for loops.
Comments
Post a Comment