Create Christmas Tree Program in Java | Class#46
B-Tech Student Next 3 Months Journey Blueprint | Must Watch and Understand:
• B-Tech Student to Software Developer | You...
Download your Java Programming Finisher Blueprint Document - Free ONLY for Limited Periods Only:
https://docs.google.com/spreadsheets/...
Details:
In this class you will learn how to create a Christmas Tree Program in Java. But before jump to this class first you have to complete the previous 3 nested loop examples, where I have explained what is nested loop ? how nested loop work ? example with sample value of nested loop ? flow chart of nested loop ? So, please do those first then check this one.
To create a Christmas Tree Program, here we have use 2 nested instead of one, where first nested loop to calculate and print the exact space and second nested loop to calculate and print the start in each line.
Problem:
Create Christmas Tree Program in Java :
*
***
*****
*******
Assignment:
1. Do the same Christmas Tree again from your side.
2. Also use the same code base and create a new program to print the following structure,
8
888
88888
8888888