Write a Java application that prints out a numbers 2, 4 and 6 in row 1, numbers 3, 5 and 7 in row 2, numbers 8, 10 and 12 in row 3 and numbers 9, 11 and 13 in row 4. There should be an underline followed by a row of numbers that add the numbers in the column. The program should print out the information as follows:
2 4 6
3 5 7
8 10 12
9 11 13
__________
22 30 38
Your assignment submittal should include your java code which is properly commented, and the class file.
Please submit your assignment.
Instructor Comments:
Java should be used to write your program. Use NotePad to create your Java program. An IDE should not be used. Use the Command Prompt window to compile and execute your code. Submit the java file and the class file. Do not use a zip program. Submit files individually. Submit your assignment to the Submit folder. Be sure that the code is your own work.