• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Grumpy
  • Happy
  • Hungry
  • Innocent
  • Meh
  • Pirate
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • wtf
  • Results 1 to 5 of 5
    1. #1
      Member AWSUM SID's Avatar
      Status
      AWSUM SID is offline
      Join Date
      Nov 2011
      Location
      Dhaka!!!
      Posts
      963
      Post Thanks / Like
      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
      Join Date
      Jul 2010
      Location
      RI
      Posts
      32,534
      Post Thanks / Like
      This user has no status.
       
      ----



      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
      Member AWSUM SID's Avatar
      Status
      AWSUM SID is offline
      Join Date
      Nov 2011
      Location
      Dhaka!!!
      Posts
      963
      Post Thanks / Like
      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
      Join Date
      Jul 2010
      Location
      RI
      Posts
      32,534
      Post Thanks / Like
      This user has no status.
       
      ----



      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
      Senior Member Voltron's Avatar
      Status
      Voltron is online now
      Join Date
      Oct 2012
      Location
      So far left that even Death looks right
      Posts
      5,301
      Post Thanks / Like
      You wear a mask for so long
      that you forget who you are
      underneath it
       
      Meh

      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
    •