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
lina2011 [118]
2 years ago
6

In the previous project, you are storing the first name of the gamer. Write a phrase to the game right before the first word wit

hin the first paragraph of text that welcomes them. Ex: Are you ready to get started Mike
Computers and Technology
1 answer:
hodyreva [135]2 years ago
5 0

Answer:

Explanation:

Since the previous project code is not provided, what we can do is simply create the piece of code that does what the question is asking here and you can just add that to the previous project. I'll be assuming that the project was written in Java.

System.out.println("Are you ready to get started " + playerNameVariable + "?");

This line of code will ask the player if their "ready to get started?". It uses the playerNameVariable to state the name that the player had inputted previously. This line of code can be added to the previous project code right before the first word within the first paragraph of text

You might be interested in
NAME SEARCH In the Chap07 folder of the Student Sample Programs, you will find the following files: GirlNames.txt—This file cont
Tems11 [23]

Answer:

Explanation:

I do not have the files listed in the question so I have made two test files with the same names. This code is written in Python, we are assuming that the names on each file are separated by newlines.

f1 = open("GirlNames.txt", 'r')

f1_names = f1.read()

f1_names_list = f1_names.split('\n')

f2 = open("BoyNames.txt", 'r')

f2_names = f2.read()

f2_names_list = f2_names.split('\n')

print(f1_names_list)

print(f2_names_list)

boy_or_girl = input("Would you like to enter a boy or girl name or both: ").lower()

if boy_or_girl == 'boy':

   name = input("Enter name: ")

   if name in f2_names_list:

       print("Yes " + name + " is in the list of most popular boy names.")

   else:

       print("No, it is not in the list")

elif boy_or_girl == 'girl':

   name = input("Enter name: ")

   if name in f1_names_list:

       print("Yes " + name + " is in the list of most popular girl names.")

   else:

       print("No, it is not in the list")

elif boy_or_girl == 'both':

   girlname = input("Enter Girl name: ")

   if girlname in f1_names_list:

       print("Yes " + girlname + " is in the list of most popular girl names.")

   else:

       print("No, it is not in the list")

   boyname = input("Enter name: ")

   if boyname in f2_names_list:

       print("Yes " + boyname + " is in the list of most popular girl names.")

   else:

       print("No, it is not in the list")

else:

   print("Wrong input.")

4 0
3 years ago
You’ve just installed a software update, rebooted, and now your system experiences random crashes. Which too in Windows 8.1 enab
Usimov [2.4K]

Answer:

Action Center

Explanation:

The Action Center is a feature in window 8.1 that monitors security and maintenance on your computer.It notifies you when there is an issue.Through this user can view alerts and updates about software support problem.

5 0
3 years ago
What is the first step you should take when you want to open a savings account? A. Present your photo ID to the bank representat
lakkis [162]

Answer: B

Explanation:

6 0
3 years ago
Read 2 more answers
Which of these is the best example of an asset?
ArbitrLikvidat [17]

I believe it's the second answer:

The antique diamond necklace someone is wearing

5 0
3 years ago
When backing up a database server to LTO tape drives, the following schedule is used. Backups take one hour to complete.
AleksandrR [38]

Answer:

C. 3

Explanation:

Linear Tape Open LTO tape drives are magnetic tapes used to store data. This can be used with small and large computers for backup purposes. The backup needs to maintained frequently so that new data is backup on every interval. The is a RAID failure on database server to ensure complete backup there must be 3  backup tapes needed.

4 0
3 years ago
Other questions:
  • Explain what a dam is and what it does
    12·1 answer
  • 3. Which of the following phase types will make a sound louder? In-phase, inverted phase, or partial phase angle waves?
    7·2 answers
  • Using the expected format, of putting key information where the reader can’t find it, is an example of?
    8·2 answers
  • The term "resolution" refers to ______.
    6·2 answers
  • In workstation domain policies, _________________ provide the specific technology requirements for each device. IT staff uses re
    9·1 answer
  • Ten examples of an interpreter
    8·1 answer
  • Whose job is it to ensure that a group stays focused and on schedule?
    8·1 answer
  • Really helpful, I want to get together tomorrow ,Later I will follow and make it the best answer
    7·1 answer
  • Authenticating information can be something a user knows, like a password; something a user has, like a smart card; or something
    5·1 answer
  • How will you keep the buzz going post-hackathon?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!