Java Genesis: Chapter 3
Home page
Problem 7:
local variabes of types
int
and
double
Problem 8:
local variables storing random integers
Problem 11:
supplying a floating point number
Problem 12:
sum or product of five numbers
Problem 15:
moving the square to the origin
Problem 16:
summing a series
Problem 17:
calculating factorials
Problem 18:
printing a triangle of stars
Problem 19:
printing name and age
Problem 20:
tossing a die
Problem 21:
string manipulation
Problem 22:
reversing a string