Question: Objective: Write a program that allows the user to play a Choose Your Own Adventure game. In this game the user will be prompted with

Objective:

Write a program that allows the user to play a Choose Your Own Adventure game. In this game the user will be prompted with making decisions, which will then lead them to different paths with different results.

Requirements:

There must be at least 9 different endings.

To get to each of those 3 endings there must be at least 3 decisions the player has to make to lead you to the end

There may be shorter endings that only have one or two decisions to reach

There must be at least one example of:

Numeric comparison, such as equals to, less than etc.

String comparison

A compound Boolean expression

These do not have to be a part of reaching each ending they just have to be in there somewhere

Be creative!

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!