Question: Question 1 Question 2 Question 3 only use array and loop and if/else condition.. don't use interception or vector because I am a beginner so

Question 1

Question 2

Question 3

only use array and loop and if/else condition.. don't use interception or vector because I am a beginner so make program only beginner level.

Question 1 Question 2 Question 3 only use array and loop and

if/else condition.. don't use interception or vector because I am a beginner

# create an array of size twelve; get input from user. Create another array of size 6. Calculate the sum of every two neighbors [first and second element] of array one and store that sum in array two one by one. Show array two with appropriate message. Find the smallest and the largest value in array two and show on the screen with the message. Please enter 12 numbers 12 54 25 62 -10 95 23 45 11 9 16 34 The sum of every two elements of array one is Pair 1 66 Pair 2 87 Pair 3 85 Pair 4 68 Pair 5 20 Pair 6 50 Min sum of neighbors in array is 20 of element 9 and 10 Max sum of neighbors in array is 87 of element 3 and 4 # create an array with size 12. Take input from the user. Find minimum element with its index from the array and show both at the end. [Repeat this problem for maximum element also] # create an array with size 12. Take input from the user. Find minimum and second minimum element and their indexes from the array and show both element and indexes at the end. [Repeat this problem for maximum elements also]

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!