Question: Prog_2.c Create a program called prog_2.c. The objective is to ask the user for twenty (20) integers. The first ten (10) should then be the
Prog_2.c Create a program called prog_2.c. The objective is to ask the user for twenty (20) integers. The first ten (10) should then be the elements of an array called Num1 and the next to a second array called Num2. Then you should calculate the sum of the corresponding elements of the two arrays and save it to a third array called Sum. Finally, the program should output all the arrays (side by side) with the appropriate headers. Points: 0.5 1. Enter numbert 2. Enter number 1. Enter number 1. Enter number: 3. Enter number: 5 5. Enter numbers 1. Enter number: 7 3. Enter number: 8 2. Enter number 9 10. Enter number: 10 11. Enter num 12. Enter number 13. Enter numb 14. Enter numbe 15. Enter num 16. Enter numb 17. Enter number 7 18. Enter number! 19. Enter number 20. Enter number 10 Array 1 Array2 Sum on 10 12 14 16 10 20 Process exited after 12.97 seconds with retu Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
