121k views
0 votes
In the previous project, you are storing the first name of the gamer. Write a phrase to the game right before the first word within the first paragraph of text that welcomes them. Ex: Are you ready to get started Mike

User Coat
by
7.5k points

1 Answer

4 votes

Answer:

Step-by-step 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

User Kalgoritmi
by
7.7k points