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.
The code iterates for rows and columns upto 9. It prints '@@' and '##' character at required places for number of rows less than 5. For number of rows and number of columns equal to 4, it prints '@@##' which completes the upper part of the letter Y. When number of rows become greater than or equal to 5 it prints the lower part of the letter by printing '@@'. The places other than characters, is printed with a new space. It also prints a newline after each row to form the required shape of the letter.
Screenshots(Attach 2 screenshots of your own input and output) -
Attach here
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 -
[x] I have mentioned the question as comment in my solution file.
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied even after successful merge then I can be banned from the repository and hacktoberfest.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.
Issue Id you have worked upon -
Kindly write your answer here
341
Briefly explain your program logic -
Kindly write your answer here
The code iterates for rows and columns upto 9. It prints '@@' and '##' character at required places for number of rows less than 5. For number of rows and number of columns equal to 4, it prints '@@##' which completes the upper part of the letter Y. When number of rows become greater than or equal to 5 it prints the lower part of the letter by printing '@@'. The places other than characters, is printed with a new space. It also prints a newline after each row to form the required shape of the letter.
Screenshots(Attach 2 screenshots of your own input and output) -
Attach here
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 -
[x] I have mentioned the question as comment in my solution file.
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied even after successful merge then I can be banned from the repository and hacktoberfest.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.