Write a program that asks the user to enter the numbers


Write a program that asks the user to enter the numbers from 1 to 16 (in any order) and then display the numbers in a 4 by 4 arrangement, followed by the sums of rows, columns and diagonals. Example:
Enter the numbers from 1-16 in any order: 16 3 2 13 5 10 11 8 9 6 7 12 4 15 14 1
16 3 2 13
5 10 11 8
9 6 7 12
4 15 14 1
Row sums: 34 34 34 34
Column sums: 34 34 34 34
Diagonal sums: 34 34

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: Write a program that asks the user to enter the numbers
Reference No:- TGS0600670

Expected delivery within 24 Hours