SarthakKeshari / CPP-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
47 stars 132 forks source link

Add code to print letter A pattern. (Fixes Issue #324) #349

Closed ilimugur closed 2 years ago

ilimugur commented 2 years ago

Issue Id you have worked upon -

324

Briefly explain your program logic -

In the pattern of the letter A, there are 6 distinct string patterns in a particular order. Defining those patterns, along with the particular order of repetition, the code achieves printing the desired output, as asked by the issue.

Screenshots(Attach 2 screenshots of your own input and output) -

image


Checklist:

Eg - If your code follow the below guidelines. Kindly change [] to [x]

All the conditions should be fulfilled for considering your code for merging -