h8. i need to Write the code to display the content below. I need to write the code to display the content below The program Name is Half_XmasTree. This program MUST use (ONLY) for loops to display the output below from 1 to 10…1st row prints 10 star 2nd row prints 9… 3rd print 8 stars and so forth… This program is controlled by the user to input the amount of row. A good test condition is the value of ten rows. The user will demand the size of the tree. A good test condition is the value of ten rows. Remember the purpose of print() and println() Expected Output:
h8. i need to Write the code to display the content below. I need to write the code to display the content
below
The program Name is Half_XmasTree. This program MUST use (ONLY) for loops to display
the output below from 1 to 10…1st row prints 10 star 2nd row prints 9… 3rd print 8 stars and so forth…
This program is controlled by the user to input the amount of row.
A good test condition is the value of ten rows.
The user will demand the size of the tree.
A good test condition is the value of ten rows.
Remember the purpose of print() and println()
Expected Output: