Search:

Type: Posts; User: Purple01

Search: Search took 0.08 seconds.

  1. Replies
    14
    Views
    1,478

    Re: Please tell me what i did incorrect

    What if you would make it: 42.0?

    (I am going home now, I am finished working, might look in this topic in 1 hours again. Good luck.)
  2. Replies
    14
    Views
    1,478

    Re: Please tell me what i did incorrect

    I copy pasted your code in my program and these are your errors:

    Your code


    int momsAge= 42; dadsAge= 43;
    int myAge= 22, sistersAge= 16;
    int dogsAge= 6;
  3. Replies
    14
    Views
    1,478

    Re: Please tell me what i did incorrect

    Remove the *

    [*code]
    code here
    [*/code]
  4. Replies
    14
    Views
    1,478

    Re: Please tell me what i did incorrect

    And also mind the capital letters.
    dogsAge = not the same as: DogsAge.

    Good luck. :)
  5. Replies
    14
    Views
    1,478

    Re: Please tell me what i did incorrect

    Also I think by looking at you code, that dadsAge is not defined as an int/double.

    Maybe you should make it:

    double momsAge= 42;
    double dadsAge= 43;
    double myAge= 22;
    double sistersAge=...
  6. Replies
    14
    Views
    1,478

    Re: Please tell me what i did incorrect

    Can you copy paste the red text?

    P.s. I adjusted my firts post.
  7. Replies
    14
    Views
    1,478

    Re: Please tell me what i did incorrect

    What are the errors?

    I think you do need to change these int's in doubles:

    int momsAge

    Becasue else you won't get out a double value below hen you calculate the mean.

    Als try putting...
Results 1 to 7 of 7