Question: Sums Write a program that reads a sequence of 20 integers 1, 2, , 20 and prints the sums 1 + 20, 2 + 19,

Sums Write a program that reads a sequence of 20 integers 1, 2, , 20 and prints the sums 1 + 20, 2 + 19, , 10 + 11. Example of input: 28 39 4 8 7 27 56 46 12 39 10 11 84 76 45 18 42 51 63 7 Corresponding output: 35 102 55 50 25 72 132 130 23 49

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!