Results 1 to 2 of 2
Thread: Problem with zero in my code
- 08-05-2007, 04:49 AM #1Member
- Join Date
- Jul 2007
- Rep Power
Problem with zero in my code
Hi, I wrote a program and now i am having trouble with the number 0.
What the program does:
You enter two names and their test scores, then the program comares their highscores and says who has the highest.
However when i put in 0 for one of the scores it thinks that 0 is higher then 100, why?
- 08-05-2007, 06:39 AM #2
- By yalla in forum New To JavaReplies: 1Last Post: 03-30-2008, 06:11 AM
- By masaka in forum New To JavaReplies: 4Last Post: 03-26-2008, 06:33 AM
- By jvasilj1 in forum New To JavaReplies: 5Last Post: 02-02-2008, 08:34 AM
- By oregon in forum New To JavaReplies: 3Last Post: 08-05-2007, 05:57 PM
- By paul in forum New To JavaReplies: 2Last Post: 07-26-2007, 04:09 PM