Write a program that reads 10 integers and prints

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 the 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

The post Write a program that reads 10 integers and prints appeared first on My Assignment Online.

Write My Paper Button

WhatsApp Widget