|
| |
Assignment 2-2
Complete each of the following using NetBeans and Java. For each of the following, be sure use the proper headings, indentation and
internal comments.
All assignments must have the following comment headings:
Save, compile and test.
- Create a program that will print all of the following as shown
in the image below.
- your first and last name
- your street number and street name
- your city/town
- your province
- your postal code
Practice program:
- Use println() and 4 programming statements
-- one for each of the lines in the address

Hand in this one:
- You must use 5 programming statements -- use one for each
of the above 5 items. You will need to use the println()
and print() methods to accomplish this. Hint: Try to use the print() method
on the first line of the "beginner level" and see what happens. What
happens when you don't use 'ln' at the end?

(Output is the same, you accomplish it in a different way.)
- Write a program that leaves 2 blank lines before it prints your name.
Steven WoodProcess completed |
When completed, e-mail the TWO NetBeans project folders to
.
Check the Late
Submissions
policy.
|