Home › Forums › C Programming › I need help! Its urgent! :(
- This topic has 0 replies, 1 voice, and was last updated 17 years, 3 months ago by JoyceMariana28.
- AuthorPosts
- June 19, 2007 at 10:03 pm #1980JoyceMariana28Participant
I’m studying C++ at school and for homework i got to do a program that ask for the number of students in a classroom, it has to ask you their name, grade, and then you have to get the GPA of the student, and the GPA of the whole class, and print everything out, I think it has to be in this format for example:
Kid #1
Grade for class number 1: 10
Grade for class number 2: 10
Grade for class number 3: 10Kid #2
Grade for class number 1: 10
Grade for class number 2: 10
Grade for class number 3: 10Kid #3
Grade for class number 1: 10
Grade for class number 2: 10
Grade for class number 3: 10Kid #4
Grade for class number 1: 10
Grade for class number 2: 10
Grade for class number 3: 10Grade Point Average of the whole classroom: 10
this is only an example, but yea, i need to know how to do that, i got something already that i thought could of been it, but first of all, i dont want my teacher to find the code in this page if he looks for it online lol and i dont want my classmates to find it neither because if they copy it, and see that both of our codes are the same, he’ll give both of us a 0 for grade Confused so please post and then ill PM you the code and just give me tips, i dont want the whole answer because i still want to try, but i just dont get some stuff Embarrassed thanks anyone lol peace
- AuthorPosts
- The forum ‘C Programming’ is closed to new topics and replies.