GUVI
Back

TAKE THE CHANCE FOR YOU TO DO YOUR BEST || #WinACourseWednesday

Created 2 years ago
109 Views
3 Comments
butterflight_7
@butterflight_7
butterflight_7
@butterflight_7Profile is locked. Login

Harish was given a task to print the tree pattern but he was unable to do so. Help him in printing the tree.

The Tree contains n rows of leaves and trunk respectively. 

Sample Input 1

5

Sample Output 1

Sample Input 2

8

Sample Output 2

Sample Input 3

3

Sample Output 3

Kindly comment the code for the above problem statement and
GUVIan who comments first with the correct code would win a Premium course of their choice.

Results will be declared by next week!!

Hurry up!!

Comments (3)
Please login to comment.
 
Powered by habitate.io Habitate