Plasea help me!!!!

This is a discussion on Plasea help me!!!! within the C Programming forums, part of the General Programming Boards category; The Pictograph 3 below shows the number of students in STM 2A class. STM 2B has 4 students more than ...

  1. #1
    Registered User hakimstm1b's Avatar
    Join Date
    Sep 2010
    Posts
    30

    Question Plasea help me!!!!

    The Pictograph 3 below shows the number of students in STM 2A class. STM 2B has 4 students more than STM 2A. If STM 2C has 75% students more than STM 2A, calculate the total of students in these three classes.

    STM 2A = 36 student


    anyone no how to solve this?

  2. #2
    Registered User \007's Avatar
    Join Date
    Dec 2010
    Posts
    179
    Quote Originally Posted by hakimstm1b View Post
    The Pictograph 3 below shows the number of students in STM 2A class. STM 2B has 4 students more than STM 2A. If STM 2C has 75% students more than STM 2A, calculate the total of students in these three classes.

    STM 2A = 36 student


    anyone no how to solve this?
    If STM 2A = 36 student then...

    STM 2A = 36 student
    STM 2B = 40 students (4 more than 2A)
    STM 2C = (75% of 36)+36 students


    Total number of students all together = add A, B and C together. No?

  3. #3
    Registered User hakimstm1b's Avatar
    Join Date
    Sep 2010
    Posts
    30
    thank

  4. #4
    Registered User \007's Avatar
    Join Date
    Dec 2010
    Posts
    179
    No problem. I don't see how this relates to C, but good luck and if you need any more math help ask around but try to find an off topic thread or something. I am sure a lot of people around here can help.

  5. #5
    Registered User hakimstm1b's Avatar
    Join Date
    Sep 2010
    Posts
    30
    If [ a ] = 5 cm , and [ b ] = 3a cm , find [ a + b ]


    can help me?

  6. #6
    Registered User
    Join Date
    May 2010
    Location
    Naypyidaw
    Posts
    1,314
    Code:
    #include <stdio.h> // for printf..
    
    int main(void) {
    int a,b,c;
    a = 5;
    b = 3 * a;
    c = a + b;
    printf("%d\n",c);
    return 0;       // success!
    }

  7. #7
    Registered User \007's Avatar
    Join Date
    Dec 2010
    Posts
    179
    Great-- just keep in mind the units are cm and may need some decimal points and units tacked on, but good job.

  8. #8
    Registered User hakimstm1b's Avatar
    Join Date
    Sep 2010
    Posts
    30
    thank again

  9. #9
    Registered User hakimstm1b's Avatar
    Join Date
    Sep 2010
    Posts
    30
    so the answer will be 8a

  10. #10
    Registered User \007's Avatar
    Join Date
    Dec 2010
    Posts
    179
    I don't know where you would get that from.

    a = 5
    b = 3*a (= 15)
    c = a+b (5+15)

    Last time I checked 15+5 is 20.

  11. #11
    Registered User hakimstm1b's Avatar
    Join Date
    Sep 2010
    Posts
    30
    A 8
    B 10
    C 8a
    D 5

    only this answer have....

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21