Java Reference
In-Depth Information
f. change println to bogus
g. remove the semicolon at the end of the println statement
h. remove the last brace in the program
VideoNote
Developing a solution
for PP 1.2.
PP 1.3
Write an application that prints, on separate lines, your name,
your birthday, your hobbies, your favorite book, and your favorite
movie. Label each piece of information in the output.
PP 1.4
Write an application that prints the phrase Knowledge is Power :
a. on one line
b. on three lines, one word per line, with the words centered relative
to each other
c. inside a box made up of the characters = and |
PP 1.5
Write an application that prints a list of four or five web sites
that you enjoy. Print both the site name and the URL.
PP 1.6
Write an application that prints the first few verses of a song
(your choice). Label the chorus.
PP 1.7
Write an application that prints the outline of a tree using aster-
isk (*) characters.
PP 1.8
Write an application that prints a paragraph from a novel of
your choice.
PP 1.9
Write an application that prints the following diamond shape.
Don't print any unneeded characters. (That is, don't make any
character string longer than it has to be.)
*
***
*****
*******
*********
*******
*****
***
*
Search WWH ::




Custom Search