Search:

Type: Posts; User: Callcollect

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,168

    Re: Two Problems Try catch and If

    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...
  2. Replies
    4
    Views
    1,168

    Two Problems Try catch and If

    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...
  3. Replies
    18
    Views
    6,227

    Re: Prompt user to repeat

    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)
    {
  4. Replies
    18
    Views
    6,227

    Prompt user to repeat

    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...
  5. Replies
    1
    Views
    1,371

    Re: If else question/problem

    This can be deleted I figured it out!!!
  6. Replies
    1
    Views
    1,371

    If else question/problem

    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>...
  7. Replies
    12
    Views
    2,854

    Re: Loop Question - Very new beginner

    Edit!! I got it! Thank u guys for the help!!!
  8. Replies
    12
    Views
    2,854

    Loop Question - Very new beginner

    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...
Results 1 to 8 of 8