ComputingGrade.cpp
// Used by the homework, quiz, exams, & bonus grades' functions to obtain grades manually from user

Used by the homework, quiz, exams, & bonus grades' functions to obtain grades manually from user
Used by the homework quiz exams & bonus grades ' functions to obtain grades manually from user
void computingSession::obtainGradesManually(float &enteredGrade, gradeEntity &gp){
    for (int i = 1; i < gp.get_gradeNum(); ++i){
        std::cout << "Grade " << i + 1 << " of " << gp.get_gradeNum() << ": ";
        std::cin >> enteredGrade;
        if (classSetup == 1)
            checkPointVal(std::cin, enteredGrade);
        else
            checkGradeVal(std::cin, enteredGrade);
        gp.addGrade(enteredGrade);
    }
}
void computingSession :: obtainGradesManually ( float & enteredGrade , gradeEntity & gp ) { for ( int i = 1 ; i < gp . get_gradeNum ( ) ; ++ i ) { std :: cout << " " << i + 1 << " " << gp . get_gradeNum ( ) << " " ; std :: cin >> enteredGrade ; if ( classSetup == 1 ) checkPointVal ( std :: cin , enteredGrade ) ; else checkGradeVal ( std :: cin , enteredGrade ) ; gp . addGrade ( enteredGrade ) ; } }
Used by the homework, quiz, exams, & bonus grades' functions to obtain grades manually from user
Used by the homework quiz exams & bonus grades ' functions to obtain grades manually from user