Question: Write a program without functions that creates an array of type int. a . The array should be 1 0 0 in length. b .
Write a program without functions that creates an array of type int.
a The array should be in length.
b Allow the user to enter any number of input values until they enter
i This value is not stored in the array sential value
c Print the values entered only until the sential value.
d Write a for loop to multiply all the values in the array by the index in the for loop.
e Create a loop to execute times to ask the user what index in the array they would like
displayed and then display the value. Make sure they dont enter a number out of range
in the array.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
