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

Created Letter_H.cpp #361

Closed enigma-commits closed 2 years ago

enigma-commits commented 2 years ago

c++ program for printing letter H.

Issue Id you have worked upon -

329

Briefly explain your program logic -

we have to print the letter as described in the issue which is in 9*9f box format and we are printing some sort of character on each line so we take a loop for each row now for all columns except 5 and the rest of the logic is mentioned in form of a comment in the code

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

As there is no user input here so i have attached only image for the output. output


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 -