Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am supposed to make a code that creates a bool array that stores 5 elements. (1-5) Then I am supposed to set them all
I am supposed to make a code that creates a bool array that stores 5 elements. (1-5) Then I am supposed to set them all to false. using the input the user selects, use pointers to update the bool array to true for the array for the chest found. If the chest is the correct (using ) print to player they leveled up. If it is wrong print out to user wrong chest.
The instructions are in the picture.
This is all the code I have I am stuck.
please help
(Only ask input for chest once and display result to user)
only ask once for user input and display results
14 Mod 3 2 1 2 (Global Scope Mod32.cpp: This file contains the main function. Program execution begins and ends there. // 4 #include 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