assgn10/Undergraduate.cpp
Undergraduate::Undergraduate(string ssn, string lastname, int age)
{
	/**
	 * Automatically initialize the Student Attributes by default
	 * Student constructor
	 */
	if(set_ssn(ssn) &&
		set_lastname(lastname) &&
		set_firstname("Firstname") &&
		set_phone("(999)999-9999") &&
		set_age(age)) {
		
		// Do nothing...
	}else{
		cout << "Default constructor of the Undergraduate student has errors"
			<< endl;
	}
	
	major = "BME";
	minor = "PHIL";
}
// Standard constructor - provide 3 parameters
Standard constructor - provide 3 parameters
Standard constructor - provide 3 parameters
Undergraduate::Undergraduate(string ssn, string lastname, int age)
{
	if(set_ssn(ssn) &&
		set_lastname(lastname) &&
		set_firstname("Firstname") &&
		set_phone("(999)999-9999") &&
		set_age(age)) {
	}else{
		cout << "Default constructor of the Undergraduate student has errors"
			<< endl;
	}
	major = "BME";
	minor = "PHIL";
}
Undergraduate :: Undergraduate ( string ssn , string lastname , int age ) { if ( set_ssn ( ssn ) && set_lastname ( lastname ) && set_firstname ( " " ) && set_phone ( " " ) && set_age ( age ) ) { } else { cout << " " << endl ; } major = " " ; minor = " " ; }
Standard constructor - provide 3 parameters
Standard constructor - provide 3 parameters
/**
	 * Automatically initialize the Student Attributes by default
	 * Student constructor
	 */ // Do nothing...