subject

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:17Enter the number of Explorers Lost in Battle:13You 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 theburied fortune of 750 gold pieces. The group split the loot evenlyand as the quest leader you kept the extra 2 gold pieces.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:20
Your program will make use of long long int variables for all calculations. note: the use of long long int requires that you have c++11 support. you should have this automatically if you are using a newer version of visual studio. the support is there for gcc as well, but you may need the -std=c++11 or -std=c++0x compiler flag. you first need to read in the total number of seconds. there is no prompt for the read (that is, you just do the cin without using a cout to display a prompt). this is going to seem a little strange when you are running your program in your ide
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
Alexโ€™s family members live in different parts of the world. they would like to discuss the wedding plans of one of their distant relatives. however, alex wants all the family members to talk to each other simultaneously so that they can make decisions quickly. which mode of internet communication should they use? a. blog b. email c. wiki d. message board e. instant messaging
Answers: 2
question
Computers and Technology, 24.06.2019 14:00
Text or graphics that print at the bottom of every page are called footings footers headers headings
Answers: 1
question
Computers and Technology, 24.06.2019 19:00
In python a floating-point number must be written using scientific notation?
Answers: 1
You know the right answer?
Write a C++ program that produces a simple personalized adventure game called Lost Fortune about a b...
Questions
question
Mathematics, 13.11.2019 04:31
Questions on the website: 13722363