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, 23.06.2019 08:00
Match the items with their respective descriptions.
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Why is an outfitting a workspace with video games in a technology development company considered a strategic use of money
Answers: 1
question
Computers and Technology, 23.06.2019 10:50
The volume v and paper surface area a of a conical paper cup are given by where r is the radius of the base of the cone and h is the height of the cone. a. by eliminating h, obtain the expression for a as a function of r and v. b. create a user-de ned function that accepts r as the only argument and computes a for a given value of v. declare v to be global within the function. c. for v ! 10 in.3 , use the function with the fminbnd function to compute the value of r that minimizes the area a. what is the corresponding value of the height h? investigate the sensitivity of the solution by plotting v versus r. how much can r vary about its optimal value before the area increases 10 percent above its minimum value?
Answers: 1
question
Computers and Technology, 25.06.2019 04:00
Use the wrap text icon to modify which graphic appears in the front of layered images modify the picture effects change the way text is wrapped around an object apply wordart to the text
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.02.2021 04:10
question
Biology, 12.02.2021 04:10
question
Mathematics, 12.02.2021 04:10
question
Mathematics, 12.02.2021 04:10
Questions on the website: 13722366