Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that initializes an integer array of size 6 to 0's. Have the user fill the array with 6 integers between 1 and
Write a program that initializes an integer array of size 6 to 0's. Have the user fill the array with 6 integers between 1 and 100, one at a time. Print out the array. Print out the array in reverse order. Ask the user which single element in the array they would like and print it out. ter integer No. 1: 12 nter integer No 2: 23 nter integer No. 3: 34 nter integer No- 4: 56 nter integer No. 5:78 Enter integer No. 6: 90 Array[0] Array [1] Array [2] Array [3] Array [4] 12 = 23 = 34 56 = 78 = 90 rray [5] rray [5] 9 rray [41-78 Array [3] = 56 rray [2] 34 rray 1 23 Array[0] 12 What array element would you like to print out? 2 ray [2] 34
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started