-
Member
|
|
|
 |
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!
|
|
| |
|
|
-
turtles
|
|
|
 |
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.
|
|
| |
|
|
-
Member
|
|
|
 |
Re: need help!!
 Originally Posted by gamahiro
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.
|
|
| |
|
|
-
turtles
|
|
|
 |
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.
|
|
| |
|
|
-
Senior Member
|
|
|
 |
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
-
Forum Rules
|