PRG 420 Week 1 Individual Coding a Simple Hello world Java Program


Ask a Question

PRG 420 Week 1 Individual Coding a Simple Hello world Java Program

Sale price $20.00 Regular price $30.00

 PRG 420 Week 1 Individual Coding a Simple Hello world Java Program
 

Resource:

 

 

 

Week One Coding Assigment Zip File (starter code for this assignment that includes placeholders)
 

 

For this assignment, you will apply what you learned in analyzing a simple Java™ program by writing your own Java™ program. The Java™ program you write should do the following:

 

 

 

Display a prompt on the console asking the user to type in his or her first name
 

 

Construct the greeting string “Hello, nameEntered!”
 

 

Display the constructed greeting on the console
 

 

Complete this assignment by doing the following:

 

 

 

Download and unzip the linked zip file.
 

 

Add comments to the code by typing your name and the  date in the multi-line comment header.
 

 

Replace the following lines with Java™ code as directed in the file: 

 

 

 

LINE 1
 

 

LINE 2
 

 

LINE 3
 

 

LINE 4
 

 

 
 

 

Comment each line of code you add to explain what you intend the code to do.
 

 

Test and modify your Java™ program until it runs without errors and produces the results as described above.
 

 

Note: Refer to this week’s analyzing code assignment if you need help.

Submit your Java application file using the Assignment Files tab.

 PRG 420 Week 1 Individual Coding a Simple Hello world Java Program

Questions & Answers

Have a Question?

Be the first to ask a question about this.

Ask a Question