Store integers

a.  Write a C++ statement that declares secretList to be a vector object to store integers. (Do not specify the size of secretList.)  (4)

b.   Write C++ statements to store the following values, in the order given, into secretList:  (4) 56, 28, 32, 96, 75

c.  Write a for loop that outputs the contents of secretList. (Use the expression secretList.size() to determine the size of secretList.) (4)

WhatsApp
Hello! Need help with your assignments?

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

🛡️ Worried About Plagiarism? Run a Free Turnitin Check Today!
Get peace of mind with a 100% AI-Free Report and expert editing assistance.

X