Computer Science, asked by nilakshi9126, 11 months ago

Write a program that asks the user to type 4 integers in an array. The program must insert 3 at the index position 1 , and then shift each element down and drop off the last element. The program must then write the final array. Input: enter 4 integer values: 1 3 4 5 output: resultant array is; 1 3 3 4 input: enter 4 integer values: 11 32 43 54 output: resultant array is 11 3 32 43

Answers

Answered by Anonymous
0

integers in an array. The program must insert 3 at the index position 1 , and then shift each element down and drop off the last element. The program must then write the final array. Input: enter 4 integer values: 1 3 4 5 output: resultant array is; 1 3 3 4 input: enter 4 integer

Similar questions