ComputingGrade.cpp
// Checks for point values smaller than or equal to 0

Checks for point values smaller than or equal to 0
Checks for point values smaller than or equal to 0
void computingSession::checkPointVal(std::istream &input, float &pointVal){
    checkCinFloat(input, pointVal);
    while (pointVal <= 0){
        std::cout << "That point value sure as heck ain't possible! Wanna' try to re-enter it?: ";
        std::cin >> pointVal;
        std::cout << std::endl;
        checkCinFloat(input, pointVal);
    }
}
void computingSession :: checkPointVal ( std :: istream & input , float & pointVal ) { checkCinFloat ( input , pointVal ) ; while ( pointVal <= 0 ) { std :: cout << " " ; std :: cin >> pointVal ; std :: cout << std :: endl ; checkCinFloat ( input , pointVal ) ; } }
Checks for point values smaller than or equal to 0
Checks for point values smaller than or equal to 0