subject

I am in a programming class and I am stuck on a project. I've gone through the lesson several times but nothing really explains what the project wants me to do. Here is the prompt: Project: Using If and If-Else Statements and Reading User Input
Assignment Directions:
Open the NetBeans IDE and create a new project named MyChoices. java. Your program will be interacting with a user named Paul, and it should do the following:

Ask the user to enter his name.
In a personalized statement, ask the user if they like rock music.
If the user answers yes, output three recommended songs titles, each on its own line.
If the user answers no, output the personalized statement “Thanks for visiting, [username]!”
End the program.
Assignment Guidelines
Use earlier programs and skeleton code as a reference. Be sure to include a main () method and to declare and initialize any variables you might need. Watch your curly braces! Include standard documentation and informative comments. Remember to indent and align your code to make it easy to read. Compile and run your program.

Submission Requirements
Submitted code must be compiled and executable.

If anyone can figure this out and write a code it would be greatly obliged!

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
The word ‘play’ comes with many different interpretations and a variety of definitions. discuss some of the various meanings tied to the word play. why is the concept of play thought to be an important addition to the workplace? do some (brief) research online and give an example of how play in the workplace is being done right.
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
question
Computers and Technology, 24.06.2019 08:00
Java the manager of a football stadium wants you to write a program that calculates the total ticket sales after each game
Answers: 1
question
Computers and Technology, 24.06.2019 18:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best-suited for this?
Answers: 1
You know the right answer?
I am in a programming class and I am stuck on a project. I've gone through the lesson several times...
Questions
question
Mathematics, 12.11.2020 08:10
question
Mathematics, 12.11.2020 08:10
question
SAT, 12.11.2020 08:10
question
Social Studies, 12.11.2020 08:10
question
Mathematics, 12.11.2020 08:10
question
English, 12.11.2020 08:10
Questions on the website: 13722367