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

Can somenoe help me produce the following in java language. It should use a clas

ID: 3629272 • Letter: C

Question

Can somenoe help me produce the following in java language. It should use a class constant to adjust the size of the rows and number of times each number is written (for example a class constant of 5 will produce each number five times and repeat five times). It should also utilize for loops.

Thanks!

here is the picture:

99999888887777766666555554444433333222221111100000
99999888887777766666555554444433333222221111100000
99999888887777766666555554444433333222221111100000
99999888887777766666555554444433333222221111100000
99999888887777766666555554444433333222221111100000

Explanation / Answer

please rate - thanks

import java.util.*;
public class Main
{public static void main(String [] args)
    {int i,j,k;
    int rows=5;
    for(i=0;i<rows;i++)
         {for(j=9;j>=0;j--)
              for(k=1;k<=rows;k++)
                    System.out.print(j);
            System.out.println();
            }
                   
          }
}