Question: Write a program that continuously inputs numbers into in array of integers until the user enters a negative value. Each input value should be stored
Write a program that continuously inputs numbers into in array of integers until the user enters a negative value. Each input value should be stored at the beginning of the array ( index 0 ), so you have to shift the contents one index to the right before each input. Print the array everytime you input a value. You must implement separate functions for the input and printing the array. Use pass by reference
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
