1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
irakobra [83]
3 years ago
12

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).

Computers and Technology
1 answer:
Natasha2012 [34]3 years ago
8 0

Answer:

Detailed answer is given :

You might be interested in
What occurs along a divergent plate boundary?
den301095 [7]
<span>D- mid- ocean ridges
</span>socratic.org<span>Most active divergent plate boundaries occurbetween oceanic plates and exist as mid-oceanic ridges. Divergent boundaries also form volcanic islands which occur when the plates move apart to produce gaps which molten lava rises to fill</span>
8 0
3 years ago
Read 2 more answers
Write a test program that prompts the user to enter a two dimensional array and displays the location of the smallest element in
alexandr1967 [171]

Answer:

def element_loc():

   is_end = 'n'

   dimen2 = []

   while is_end == 'n':

       par1 = input("Enter rows and columns: ").split(",")

       part = [int(i) for i in par1]

       dimen2. append(part)

       is_end = input("Do you want to add more rows? y/n: ")

   mini = list()

   for i in dimen2:

       mini. append(min(i))

   result = min(mini)

   row_index = mini. index(result)

   col_index = dimen2[row_index]. index(result)

   print("Row: ", row_index, "Col_index: ", col_index)

element_loc()

Explanation:

The python program solution above prompts users for the two-dimensional array and then the rows of the array are compared with the minimum value stored in another list or array. The row index and the column index are gotten from the mini and dimen2 arrays respectively and are displayed as the position of the minimum value in the two-dimensional array.

8 0
3 years ago
This problem performs elliptic curve encryption/decryption using the scheme out-
USPshnik [31]

Answer:

Following is the solution fr the question step by step:

a. PB = (7,2)

b. Cm = {(8,3), (10,2)}

c. Pm= (10,9)

Explanation:

<h2>I hope it will help you!</h2>

6 0
3 years ago
Materiales del que está echa un moto?
Nonamiya [84]

Answer:

El chasis o cuadro (motocicleta), que puede ser simple, de doble cuna, multitubular, de chapa estampada, doble viga, monocasco, etc., suele estar construido preferentemente en acero o aluminio, en casos más raros en magnesio, carbono o titanio. La rigidez y geometría del chasis es vital para su estabilidad.

6 0
3 years ago
The members of the IT department have spent two days debating the best approach to roll out the new software update. After allow
devlian [24]

Answer:

<em>Functional conflict</em>

Explanation:

Functional conflict means<em> encouraging workers to communicate different points of view and address disagreements in a healthy manner that can promote new ideas and new innovations.</em>

This compares with the unstable type of conflict that has no business advantage and only hurts the morale of interaction, productivity and workplace.

4 0
3 years ago
Other questions:
  • Demonstrate your grasp of the Unix file system by constructing a directory structure as follows: In your home ( ~ ) directory, c
    11·1 answer
  • ​the complete definition of a database, including descriptions of all fields, tables, and relationships, is called a _____.
    7·1 answer
  • Which of the following statements is false? A constructor is similar to a method but is called implicitly by the new operator to
    6·1 answer
  • Why is it important to use the binomial nomenclature system?
    6·1 answer
  • When using ntfs as a file system, what can be used to control the amount of hard disk space each user on the machine can have as
    8·1 answer
  • Identify and define the various systems used in creating the Technological Systems.
    15·1 answer
  • Who tryna play among us
    8·2 answers
  • The Publisher-Subscriber design pattern is used to create __________________ communication between software objects and is used
    13·1 answer
  • I used the Pearson correlation coefficient for my study to test the correlation and how strong is the relationship between two v
    10·2 answers
  • Class ____________ allow you to create one version of a class, without having to replicate code to handle multiple data types.
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!