12-09-2009, 03:08 PM
You've got to stop posting code like this...
You create a new scanner object inside the if-block, why?
Make your variable names descriptive. Every time you use a cryptic variable name, a baby dies.
Learn what an array is.
The problem is that you never change the value of 'cero', why the variable even exists, I have no idea.
Remember, every undescriptive variable name leads to a dead baby....
You create a new scanner object inside the if-block, why?
Make your variable names descriptive. Every time you use a cryptic variable name, a baby dies.
Learn what an array is.
The problem is that you never change the value of 'cero', why the variable even exists, I have no idea.
Remember, every undescriptive variable name leads to a dead baby....