TonyLa.com

Java Programs - The if statement

Back To Index
 
ProblemCode
This program modifies Arithmetic2 using an if statement to check for 0 denominator
This program will play a simple guessing game with the user. The program will generate a random integer between 1 and 10 (inclusive). Ask the user to guess the number and then check the guess with the generated number. All I/O will be done using dialog boxes.
 
Back To Index

Site Designed by: Tony Larrain tony@tonyLa.com
Copyright © Anthony (tony) Larrain 2004 - 2005

1