Skip to content

Instantly share code, notes, and snippets.

@Kevin-Gomez10
Created June 23, 2021 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kevin-Gomez10/72bf5383d0c65ae5ec4f335005ef8d13 to your computer and use it in GitHub Desktop.
Save Kevin-Gomez10/72bf5383d0c65ae5ec4f335005ef8d13 to your computer and use it in GitHub Desktop.
UIII POO Act16 clase estudiante herencia persona v2
#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
@Kevin-Gomez10
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment