Exercises
the following patterns :
the ASCII table ( chars 32-255 )
the Hypotenuse z of the following right triangle :
*
**
***
****
*****
*
**
***
****
*****
a)
b)
Write programs to print :
z=?
x=4
y=7
z = x + y
2
2
2
Hint! : z = Math.sqrt(double d) returns the square root
Previous slide
Next slide
Back to first slide
View graphic version