User Profile

Collapse

Profile Sidebar

Collapse
djselect24
djselect24
Last Activity: Jul 15 '15, 03:37 AM
Joined: Jun 17 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • djselect24
    replied to Need help with Grade calculator code.
    in C
    sorry kiseitai2 but I have another question. So here is the code that I have now come up with and my question is. How do I get the name to change for the student because right now, once I enter the number of students and then the name. The name of the student stays the same for all the students.

    Code:
    #include <iostream>
    #include <iomanip>
    using namespace std;
    
    int main()
    {
    	int numStudents,
    ...
    See more | Go to post
    Last edited by Rabbit; Jun 20 '15, 06:15 PM. Reason: Fixed code tags

    Leave a comment:


  • djselect24
    replied to Need help with Grade calculator code.
    in C
    awesome thanks for the help Kiseitai2!!!
    I am gonna try the while loop, I think that will work for what I am trying to do.
    See more | Go to post

    Leave a comment:


  • djselect24
    replied to Need help with Grade calculator code.
    in C
    I am just in my first class of C++, it is a long story but basically the curriculum that the teacher has is not very good. He asks us to code these projects but the reading material that he gives us is no where near what the projects asks. We were told that we didn't need textbooks for this class so I have been researching a lot online. The project that he asks us to code does not have a set number of grades, he told us to code it as if we did...
    See more | Go to post

    Leave a comment:


  • djselect24
    replied to Need help with Grade calculator code.
    in C
    by the stop putting in grades, I meant say you have student A with 5 grades, student B with 7 grades, and student C with 10 grades. How could you tell the program to keep asking to input grades in for a different range of grade scores. Most examples have a set number of 3 grade inputs so it makes it easy. But in my example it is unknown how many grades each student has. Also the grade needs to be broken down in College Scoring ie. A=4.0, B=3.0,...
    See more | Go to post

    Leave a comment:


  • djselect24
    started a topic Need help with Grade calculator code.
    in C

    Need help with Grade calculator code.

    I am a beginner and needing help with my coding for my grade calculator. I know that most examples show grade averages for a set number of grades. The thing that I am trying to learn is how would I write it if the number of grades was different for each student. I am having trouble being able to figure out how to put in a function where the user can stop putting in grades for the student whenever they want. I also am trying to put it to where...
    See more | Go to post
No activity results to display
Show More
Working...