Search:

Type: Posts; User: CDeighan

Search: Search took 0.15 seconds.

  1. Replies
    4
    Views
    129

    @Norm I quoted three because that's what the...

    @Norm

    I quoted three because that's what the user asked for above.

    No my comment doesn't mean they must try three times. If they don't get the correct password - increment counter - then check...
  2. Replies
    5
    Views
    125

    You need to assign a value to n, I assuming that...

    You need to assign a value to n, I assuming that this will be input from the user. If so you will need to use the Scanner class to gain input from the user.
  3. Replies
    4
    Views
    129

    Step 1:Have a new int call counter. Step...

    Step 1:Have a new int call counter.
    Step 2:Increment the counter each time the person doesn't log in successfully.
    Step 3: Check if the counter = 3 , if it doesn't exit the system.
  4. I'll take a look at this tomorrow mate post up...

    I'll take a look at this tomorrow mate post up some additional help when I get In front of PC.
  5. char first = response.charAt(0); Repeat then for...

    char first = response.charAt(0);
    Repeat then for the rest of the requirements.

    If(first == 'R')
    {
    If(nextChar == 'R')
    {
    }
    }
  6. Replies
    2
    Views
    112

    Is this JavaScript from a controlled assessment...

    Is this JavaScript from a controlled assessment from OCR GCSE Computing??
  7. First of you need ask the user for an input and...

    First of you need ask the user for an input and assign that to a variable.

    Now you need loop through the inputted string using the charAt method and check each character within the string to...
  8. You should always initialise variables with a...

    You should always initialise variables with a value. If they're not given a value, they get assigned null.
  9. Replies
    4
    Views
    235

    That's a great little problem there to solve...

    That's a great little problem there to solve using Java.

    You just need to sit down and write yourself out an algorithm as Ada has stated, and make sure all steps are included. Whenever they are,...
  10. Yeah there's no average calculation there in that...

    Yeah there's no average calculation there in that code, counter / temperature is not logically correctly.

    You don't need a counter as you say there's 7 temperatures so you should just divide it...
  11. Replies
    2
    Views
    203

    [SOLVED] Book Club Points

    As Norm says you haven stated what problems your having.

    But looking through your code - I would have another "else if" statement for numberofbooks == 4, and then have another else as an invalid...
Results 1 to 11 of 11