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, 23.06.2019 01:20
Me with this program in c++ ! computers represent color by combining sub-colors red, green, and blue (rgb). each sub-color's value can range from 0 to 255. thus (255, 0, 0) is bright red. (130, 0, 130) is a medium purple. (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (in other word, equal amounts of red, green, blue yield gray).given values for red, green, and blue, remove the gray part. ex: if the input is 130 50 130, the output is: 80 0 80. thus, find the smallest value, and then subtract it from all three values, thus removing the gray.
Answers: 3
question
Computers and Technology, 23.06.2019 06:30
You are consulting for a beverage distributor who is interested in determining the benefits it could achieve from implementing new information systems. what will you advise as the first step?
Answers: 1
question
Computers and Technology, 23.06.2019 12:30
What is the difference between the internet and the world wide web?
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
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
World Languages, 05.10.2019 16:30
Questions on the website: 13722361