Results 1 to 5 of 5
  1. #1
    Senior Member AWSUM SID's Avatar
    Status
    AWSUM SID is offline
    Gender
    Join Date
    Nov 2011
    Posts
    1,344
    Location
    Dhaka!!!
    This user has no status.
     

    need help!!

    okay... so i'm new at this C++ programming. Here is the question of a program that I cant write properly

    Create a C program which will take five subjects grade point and will output gpa.

    Pls help if you peeps can. Thanks!
     
         

  2. #2
    turtles gamahiro's Avatar
    Status
    gamahiro is offline
    Gender
    Join Date
    Jul 2010
    Posts
    32,576
    Location
    RI
    me and saraisthebeast
     



    Re: need help!!

    This smells like homework to me. Don't be lazy. Show me what you have so far and I will help you finish it.
     
         

  3. #3
    Senior Member AWSUM SID's Avatar
    Status
    AWSUM SID is offline
    Gender
    Join Date
    Nov 2011
    Posts
    1,344
    Location
    Dhaka!!!
    This user has no status.
     

    Re: need help!!

    Quote Originally Posted by gamahiro View Post
    This smells like homework to me. Don't be lazy. Show me what you have so far and I will help you finish it.
    actually... it isnt homework It was a question in my lab class that i couldnt answer.

    I know the basics like

    #include<stdio.h>

    void main (void)
    {

    printf
    scanf

    }

    i made a program previously that can determine age accurately but got stuck with this one for some reason. I know it sounds foolish . Guess my understanding isnt that good enough. Could you be so kind enough as to write the program. It'll help me alot.
     
         

  4. #4
    turtles gamahiro's Avatar
    Status
    gamahiro is offline
    Gender
    Join Date
    Jul 2010
    Posts
    32,576
    Location
    RI
    me and saraisthebeast
     



    Re: need help!!

    Homework...schoolwork...same thing.
    Google it. Copy it from somewhere. Run it. Research. Tweak. Run. Repeat until you get it, or until you get stuck. Then post here what you have so far, and where you are stuck.
     
         

  5. #5
    >.> meh. This name sucks.. Voltron's Avatar
    Status
    Voltron is offline
    Gender
    Join Date
    Oct 2012
    Posts
    5,829
    Fat monkeys cause red
    tablecloths to explode
     

    Re: need help!!

    you need to assign different values to your input. for example:
    A ==> 4
    B ==> 3
    so on and so forth. when the user inputs the values, the program will automatically assign values to a variable, allowing you to increment them....
    next, you need to average them and it outputs an value!!

    so easiest way is to create a loop.....
    What you are doing with the h file is actually rather advanced for a beginning c++ class....
    I should be able to help you write the program....
     
         

Posting Permissions

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