Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help: Program not doing what it's supposed to
#2
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....
Reply


Messages In This Thread
RE: Help: Program not doing what it's supposed to - by wat - 12-09-2009, 03:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)