I need help! Its urgent! :(

Home Forums C Programming I need help! Its urgent! :(

Viewing 0 reply threads
  • Author
    Posts
    • #1980
      JoyceMariana28
      Participant

      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: 10

      Kid #2
      Grade for class number 1: 10
      Grade for class number 2: 10
      Grade for class number 3: 10

      Kid #3
      Grade for class number 1: 10
      Grade for class number 2: 10
      Grade for class number 3: 10

      Kid #4
      Grade for class number 1: 10
      Grade for class number 2: 10
      Grade for class number 3: 10

      Grade 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

Viewing 0 reply threads
  • You must be logged in to reply to this topic.