Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Could you explain me howdoese it work?? I know the what this is going to do but

ID: 3611451 • Letter: C

Question

Could you explain me howdoese it work??

I know the what this is going to do but I do want tounderstand how does it happen...

thank you in advance..


    public class May11_05
   {
       public static voidmain(String[] args)
      {
         int i,j;
     
         for(i = 0;i<10;i++)
         {
           for(j = i;j<10;j++)
              System.out.print(".");
           System.out.println();
         }
      }
   } Could you explain me howdoese it work??

I know the what this is going to do but I do want tounderstand how does it happen...

thank you in advance..


    public class May11_05
   {
       public static voidmain(String[] args)
      {
         int i,j;
     
         for(i = 0;i<10;i++)
         {
           for(j = i;j<10;j++)
              System.out.print(".");
           System.out.println();
         }
      }
   }

Explanation / Answer

please rate - thanks public class May11_05    {        public static voidmain(String[] args)       {          int i,j;        /*this loopwill execute 10 times. each time it executes it will do the innerloop (in blue) and will then go to thenext line , thus printing 10 lines*/          for(i = 0; i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote