+1 123 456 7890 instantessays65@gmail.com

(answered) – 1 Write a program to assign the integer values 1 through 25 to a

$11.00

(answered) – 1 Write a program to assign the integer values 1 through 25 to aDescriptionSolution downloadThe Question1 Write a program to assign the integer values 1 through 25 to a 25-element integer array. Then, print the array as five separate lines, each containing five elements separated by commas. The last element on each line should be followed by a newline instead of a comma. The output of the program should appear exactly as follows:1,2,3,4,56,7,8,9,1011,12,13,14,1516,17,18,19,2021,22,23,24,25Hints:One way to determine every 5th element is to use the modules operator (%). If you divide the subscript by 5 and the remainder is 0, it is the 5th number.You can use System.out.print() to print a value without a newline following it. This allows you to print multiple things on the same line.2 You may use the Windows Command Prompt command line interface or any Java IDE you choose to compile and execute your program. A and B below need to be in a single Microsoft Word file:a. screen snapshot of the Java source code?b. A listing of entire Java source code in the same Microsoft Word file as itemimport java.until.*;import java.lang.*;import java.io.*;class Ideone{public static int[ ] array;public static void main(string[ ] args){array = new int[25];for(int i=o; i<25; i++)...