Question: Programing C Task 5: Create a program that reads 5 integer values from the terminal. It will save these values in an array, and it

Programing C Task 5: Create a program that reads 5 integer valuesPrograming C

Task 5: Create a program that reads 5 integer values from the terminal. It will save these values in an array, and it will print them afterwards. In other words, you will ask the user for 1 integer per iteration, you will save this integer with a scanf statement in an array; and you will repeat the process 5 times (until the array is full). Then, you will use the array and another loop to print out the values saved in the array. Note: if you use a variable to state the length of your array, rather than a number, you will be granted 0.2 extra credit

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!