Write a program that reads 10 integers and prints the first and the last on one
ID: 3648434 • Letter: W
Question
Write a program that reads 10 integers and prints the first and the last on one line, the second and the ninth on the next line, the third and seventh on the next line, and so forth. Sample input and the results are shown below.
Please enter 10 numbers:
10 31 2 73 24 65 6 87 18 9
Your Numbers are:
10 9
31 18
2 87
73 6
24 65
Also, I have to have the sum of each number column at the bottow of each of the column. We are using an ssh client and pico is the text editor. I have no idea what im doing wrong. other answers on here are using things we have never learned so I cant use them. We have learned printf, scanf, %d, %f, int, float, and things like that. So if the program could be created using those things it would be helpful.