Question: Write a C++ program that produces a simple personalized adventure game called Lost Fortune about a band of explorers that finds a stash of 750

Write a C++ program that produces a simple personalized adventure game called Lost Fortune about a band of explorers that finds a stash of 750 gold pieces. Start by asking the player for the following information: the number of explorers and the number of explorers lost in battle. The program should then use the information input by the player(this information will be different EACH time the game is played) to generate and print a basic adventure story. Here's a sample run of the input and output of the game (program) where the player entered the following input: 17 (for the number of explorers), followed by 13 (for the number of explorers lost).

Welcome to Lost Fortune!

Please answer the following questions for your personalized adventure:

Enter the number of Explorers:

17

Enter the number of Explorers Lost in Battle:

13

You bravely led 17 adventurers on a quest for gold.

The group fought a band of ogres and lost 13 members.

Only 4 survived.

The party was about to give up when they stumbled upon the

buried fortune of 750 gold pieces. The group split the loot evenly

and as the quest leader you kept the extra 2 gold pieces.

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!