Thread: Java help.
View Single Post
Old 10-25-2007, 04:07 AM   #3 (permalink)
slitz
euro scum
 
slitz's Avatar
 
Join Date: Aug 2002
Location: Sweden
Posts: 785
-6 Internets
Since she's dealing with numbers, she might want to look into switch cases instead of all the if statements.
Would clean up the code some

Code:
int input; switch (input){ case 1: ..... case 2: ..... etc }
slitz is offline   Reply With Quote

 
Uberguilds Network