Search found 4 matches
yes / no
i'm trying to get a program to ask a question that requires a yes or no answer, and then loops until the answer is no. i have managed to get it to loop but the loop works no matter what the user types in. is anyone able to help.
- Wed Nov 26, 2003 5:59 pm
- Forum: Java
- Topic: trying to get the hang of loops!!!!!!
- Replies: 4
- Views: 672
trying to get the hang of loops!!!!!!
i'm trying to get a program to loop so that the correct information is input. the program asks for a xam result between 0 and 10 but if the user types a number larger than 10 the program should ask again for a number between 0 and 10. i have so far only managed to get this to happen once and if the ...
- Thu Nov 20, 2003 2:28 pm
- Forum: Java
- Topic: Bigger than int
- Replies: 3
- Views: 571
- Thu Nov 20, 2003 1:31 pm
- Forum: Java
- Topic: Bigger than int
- Replies: 3
- Views: 571
Bigger than int
i'm new to java and have been trying to compile a application to work out the average number of heart beats a human has. the file works but int is not big enough for the data i'm using. is anyone able to help me with a command that is bigger than int?