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 "stdafx.h"
#include <iostream>
usingnamespace 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:

// 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 <iostream>
#include <limits>
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 = newint[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<numStudents; ++i) {
std::cout << points_earned_per_student[i] << ' ';
}
std::cout << "\nTotal possible points: " << totalPossiblePoints
<< "\nPoints actually earned: " << numPointsActuallyEarned
<< '\n';
waitForEnter();
delete[] points_earned_per_student;
return 0;
}
void waitForEnter()
{
std::cin.ignore();
std::cout << "\nPress ENTER to continue...\n";
std::cin.ignore(std::numeric_limits<std::streamsize>::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...