ptg7068951
64 HOUR 5:Storing and Changing Information in a Program
Activities
Yo u c a n r e v i e w t h e t o p i c s o f t h i s h o u r m o r e f u l l y w i t h t h e f o l l o w i n g a c t i v i t i e s :
. Expand the PlanetWeightprogram to track a person’s weight on Venus
(90.7% of Earth weight) and his weight on Uranus (88.9% Earth)—and
stop snickering because I mentioned Uranus.
. Create a short Java program that uses an xinteger and a yinteger and
displays the result of xsquared plus ysquared.
To s e e J av a p r o g r a m s t h a t i m p l e m e n t t h e s e a c t i v i t i e s ,visit the book’s website
at http://www.java24hours.com.