Created
June 15, 2021 05:17
-
-
Save Kevin-Gomez10/1bd3a456fa53b93f8ef5fc04ed20604b to your computer and use it in GitHub Desktop.
POO Act12 clase figura hipotenusa
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 joan_h | |
#define joan_h | |
class figura{ | |
public: | |
double A, B, h; | |
void cargar_datos(); | |
double cuadrado(double x); | |
};// fin de figura | |
class hipotenuza:public figura{ | |
public: | |
double calcula_hipotenuza(); | |
};// fin de clase hipotenuza herencia figura | |
#endif | |
Author
Kevin-Gomez10
commented
Jun 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment