Thanks for the reply,
I see what you mean about the curly brackets around the count. I removed them.
The program still acts the same, it compiles correctly but when the catch is triggered it...
Type: Posts; User: Callcollect
Thanks for the reply,
I see what you mean about the curly brackets around the count. I removed them.
The program still acts the same, it compiles correctly but when the catch is triggered it...
Hey, I have 2 problems if anyone can offer help i'd really appreciate it!
First problem I have is with my try and catch. Its hard to explain (I don't know whats wrong with it)
My second problem...
I looked up some tutorials with the continue statement but I cant seem to see how it would work in this code?
class Mock
{
public static void main(String[] args)
{
Hi,
I have a program that loops ten times and asks a question each time with an appropriate response for the user's input. My problem is i'm trying to get the program to ask at the end, "Do you...
This can be deleted I figured it out!!!
Hi,
I just created, with the help of this forum :), a program that now successfully loops and asks a question that changes each loop,
eg:
Loop start> Person 1 do you like apples?? >Loop>...
Edit!! I got it! Thank u guys for the help!!!
Hi,
Im very new to Java and learning the basics in school. Were now on our very first assignment and I have a question about loops.
I dont want to post the code I have as I fear I could get in...