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.
//Logic
//firstly we ascend to 7 starting from 1
//Since we have to keep 1 ad 13 at same line and so on
//so we came up with logic that 13 is actually (2*7-1)
//we also recognized that there is space between 12 and 14 so another loop is there to take care of it.
//lastly we make sure that the printing number shouldnot exceed 16. for which we have to carryout nested if else ladder.
Screenshots(Attach 2 screenshots of your own input and 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 -
[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 -
387
Briefly explain your program logic -
//Logic //firstly we ascend to 7 starting from 1 //Since we have to keep 1 ad 13 at same line and so on //so we came up with logic that 13 is actually (2*7-1) //we also recognized that there is space between 12 and 14 so another loop is there to take care of it. //lastly we make sure that the printing number shouldnot exceed 16. for which we have to carryout nested if else ladder.
Screenshots(Attach 2 screenshots of your own input and 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 -
[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.