Skip to content

Instantly share code, notes, and snippets.

@Kevin-Gomez10
Created June 15, 2021 05:17
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/1bd3a456fa53b93f8ef5fc04ed20604b to your computer and use it in GitHub Desktop.
Save Kevin-Gomez10/1bd3a456fa53b93f8ef5fc04ed20604b to your computer and use it in GitHub Desktop.
POO Act12 clase figura hipotenusa
#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
@Kevin-Gomez10
Copy link
Author

image

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