Question
I need help adding loops to my current map for programming #include #include #include using namespace std; int main() { string goSchool; string studyClass; string
I need help adding loops to my current map for programming
#include
int main() { string goSchool; string studyClass; string catchupWork; string eatFood; string playGame; string exerciseTime; cout << "You wake up decide to: " << endl< return 0; } Modify your Multipath Adventure from the previous lab to fulfill the following requirements: (If your code already fulfilled these requirements, then you can resubmit the same code here, take the Canvas quiz, and you are done!) Update your Decision Tree to show which branches use function calls. Turn in the updated Decision Tree along with your lab. Note that you are allowed to use concepts we have not covered in class if you would like to (e.g. loops, etc.). This might also help you in preparing for future labs. As part of grading your lab, the TAs will randomly pick 2 paths through your decision tree to check your work. They will reference your submitted decision tree to choose the paths and make sure that when they run your code it takes them through the path as specified in your decision tree. To make your game easier to play (and thus make it easier for the TAs to grade) you should provide prompts before each input that make clear what inputs are valid. Hints: Possible uses of functions might include a GetUserChoice function that handles string processing, functions to print text that is repeated in multiple branches, or functions that represent the different paths you might take.
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