Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 Question 2 C++ Program 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
C++ Program 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. Please add comments and also add proper output message "what programmer should ask the user".
# create an array with size 12. Take another array of the same size, get input from the user for array one and array two, after that compare both array index by index, count where array one wins, count where array two wins and count where both are same. At the end, show all three counts, by default all counts are zero. Please enter 12 numbers for array one 12 54 25 62 -10 95 23 45 11 9 11 16 34 Please enter numbers for array two 14 3 45 67 11 23 -8 4 90 23 17 21 Winner in array one : 5 Winner in array two: 7 Same both : 0 # 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
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