Skip to content

Update Pascal's Triangle.cpp#2

Open
KIRAkodes wants to merge 1 commit intoroot00198:masterfrom
KIRAkodes:patch-1
Open

Update Pascal's Triangle.cpp#2
KIRAkodes wants to merge 1 commit intoroot00198:masterfrom
KIRAkodes:patch-1

Conversation

@KIRAkodes
Copy link
Copy Markdown

the one that you already had printed the output wihtout the starting spaces.
like: for n=4->
1
11
121
1331
however, the required output was in this format:
1
1 1
1 2 1
1 3 3 1

the one that you already had  printed the output wihtout the starting spaces.
like: for n=4->
1
11
121
1331
however, the required output was in this format:
     1
   1 1
 1 2 1
1 3 3 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant