Created
June 23, 2021 01:06
-
-
Save Kevin-Gomez10/72bf5383d0c65ae5ec4f335005ef8d13 to your computer and use it in GitHub Desktop.
UIII POO Act16 clase estudiante herencia persona v2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef estudiante_h | |
#define estudiante_h | |
class persona | |
{ | |
private: | |
int Identidad; | |
public: | |
persona(); // Constructor | |
void capturarPersona(); | |
void establecerPersona(int); | |
int obtenerIdentidad(); | |
void imprimirPersona(); | |
}; // Fin Clase Persona | |
class estudiante : public persona | |
{ | |
private: | |
int nroCuenta; | |
public: | |
estudiante(); // Fin Constructor | |
void capturarEstudiante(); | |
void establecerEstudiante(int); | |
int obtenerNroCuenta(); | |
void imprimirEstudiante(); | |
}; // Fin Clase Estudiante Herencia Persona | |
#endif |
Author
Kevin-Gomez10
commented
Jun 23, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment