Skip to content

Instantly share code, notes, and snippets.

@Kevin-Gomez10
Created June 2, 2021 05:19
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/2d9a4385e71f2eeebe2268af1893a9b4 to your computer and use it in GitHub Desktop.
Save Kevin-Gomez10/2d9a4385e71f2eeebe2268af1893a9b4 to your computer and use it in GitHub Desktop.
POO Act7 Figura rectangulo c++ ***gomez.cpp***
#ifndef rectangulo_h
#define rectangulo_h
class Figura{
public:// Atributos
double A;
double b;
double h;
double P;
// Metodos
void Calcula_Area();
void Calcula_Perimetro();
};// fin de clase 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