In the following Java program replace conditions in while loopsto produce Christmas tree output.
import java.util.Scanner;
public class Tree
{
   public static void main(String[] args)
   {
       int size;
       Scanner scan = newScanner(System.in);
       System.out.print(\"Enter the size: \");
       size =scan.nextInt();
       int count = 0;
       while (__________)//??? condition
       {
           int len = 0;
           // print blanks
           while (____________)//??? condition
           {
               System.out.print(' ');
               len++;
           }
           len = 0;
           // print stars
           while (____________)//??? condition
           {
               System.out.print('*');
               len++;
           }
           System.out.println(); // go to next line
           count++;
       }
   }
}
Generated output for the size of 7:
Enter the size: 7
     *
    ***
   *****
  *******
*********
***********
*************