Question: question 1 and 2 please Fill in the code to make it legal and have the correct output No spacesl Assume that the array has

question 1 and 2 please
question 1 and 2 please Fill in the code to make it

Fill in the code to make it legal and have the correct output No spacesl Assume that the array has no empty slots by the end of the code. int main0 std artaycint, myArray at (0)=3, myArray at(1) =2, myArray at(2) =6; cout myAlrayati 1 output 2 QUESTION 2 Fill in the code to make it legal and have the correct output. No spacest Assume everything that needs to be tincluded is Hincluded! int main() \{ vectore int > myNector, myvector myVector myvecto cott myVector (3), (2). (6), 1

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!