Results 1 to 4 of 4
  1. #1
    littlebirdpoo is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Problem with initializing

    int question 5 = (int)((((value[5]/year[5]) + (value[6] / year[6])) / 16 / 2)*1000000);

    I've initialized the values for value and year already, but I don't know why when I try to compile it, an error pops up saying that "; " is required...

    thx!

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default Re: Problem with initializing

    You have a space between "question" and "5".

  3. #3
    littlebirdpoo is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Re: Problem with initializing

    oh hahaha ops!

    Thanks a lot!

  4. #4
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

Similar Threads

  1. Problem with initializing two arrays
    By miroki123 in forum CLDC and MIDP
    Replies: 2
    Last Post: 07-04-2011, 05:39 PM
  2. Initializing FileWriter
    By loopsnhoops in forum Advanced Java
    Replies: 1
    Last Post: 05-31-2011, 03:28 AM
  3. Help with initializing error
    By GDW in forum New To Java
    Replies: 7
    Last Post: 10-20-2010, 09:10 PM
  4. Initializing SAXParser
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-14-2007, 07:33 PM
  5. Initializing Arrays
    By bugger in forum New To Java
    Replies: 5
    Last Post: 11-09-2007, 10:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •