2 questions: 1. I need numPointsActuallyEarned to have a running total (through Addition) of the number of grades, equel to numStudents.
2. The program is supposed to calculate the curve that should be given to each student so that the class average is 70% or better

 ``1234567891011121314151617181920212223242526272829303132333435363738`` `````` // coded by ===Cchadwicka=== 9/27/2017 2:35pm #include "stdafx.h" #include using namespace std; int main() { int numStudents = 0; int numPointsPossible = 0; int numPointsActuallyEarned = 0; cout << "How many students are in the class?"; cin >> numStudents; cout << " Please enter the number of points possible for the assignment."; cin >> numPointsPossible; int totalPossiblePoints = numPointsPossible * numStudents; int i = 0; while (i < numStudents) { cout << "Please enter the number of points earned, per student, on the assignment. Press enter after each entry."; cin >> numPointsActuallyEarned; i = i + 1; } system("PAUSE"); return 0; }``````
 I need numPointsActuallyEarned to have a running total

Sorry, I’m not a native English speaker and your request is unclear to me. According to Wikipedia
https://en.wikipedia.org/wiki/Running_total
a running total is a synonym for “partial sum”. If so, which values do you want to include and which not? By which criterion?

 The program is supposed to calculate the curve that should be given to each student so that the class average is 70% or better

70%... of what?
Well, no matter: I think I can’t be of any help in giving a student a curve, anyway.

As a first step, I think you need an array to store each student’s grade. Since you seem not to know for-loop, maybe you haven’t met std::vector yet.
Here are hints on how to add a C-style array and obtain a ‘simple’ total. If you provided further details, I’m pretty sure you’d get better help:
 ``123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354`` ``````// 2 questions: // 1. I need numPointsActuallyEarned to have a running total (through // Addition) of the number of grades, equel to numStudents. // 2. The program is supposed to calculate the curve that should be given // to each student so that the class average is 70% or better // coded by ===Cchadwicka=== 9/27/2017 2:35pm #include #include void waitForEnter(); int main() { std::cout << "How many students are in the class? "; int numStudents = 0; std::cin >> numStudents; std::cout << "Please enter the number of points possible for the assignment: "; int numPointsPossible = 0; std::cin >> numPointsPossible; int totalPossiblePoints = numPointsPossible * numStudents; std::cout << "Please enter the number of points earned, per student, " "on the assignment.\nPress enter after each entry.\n"; int* points_earned_per_student = new int[numStudents]; int numPointsActuallyEarned = 0; int i = 0; while (i < numStudents) { std::cout << "Points earned by student " << i+1 << "? "; std::cin >> points_earned_per_student[i]; numPointsActuallyEarned += points_earned_per_student[i]; i = i + 1; } std::cout << "Points inserted: "; // Example of for-loop. Haven't you really ever met it? for(int i=0; i::max(), '\n'); }``````

 ```How many students are in the class? 5 Please enter the number of points possible for the assignment: 10 Please enter the number of points earned, per student, on the assignment. Press enter after each entry. Points earned by student 1? 1 Points earned by student 2? 2 Points earned by student 3? 3 Points earned by student 4? 4 Points earned by student 5? 5 Points inserted: 1 2 3 4 5 Total possible points: 50 Points actually earned: 15 Press ENTER to continue...```