creation: 08/01/99; revised 06/01/00, 05/12/03
Instructions: This is an ungraded fill-in-the-blank exercise. Each question consists of a sentence with one or two words left out. A button represents the missing word(s). For each question, think of the word or phrase that should fill each blank, then click on the buttons to see if you are correct. No grade is calculated for this exercise.
This exercise reviews Java input and output of floating point numbers.
8. Examine the following program, which reads in a line of
text, converts it to a double
and then writes
the double
to the monitor. Fill in blanks.
9. Examine the following program, which reads in a number and writes the sine of the number to the monitor. Fill in blanks.
End of the Exercise. If you want to do it again, click on "Refresh" in your browser window. Click here to go back to the main menu.