Skip to content

Instantly share code, notes, and snippets.

@Kevin-Gomez10
Created June 1, 2021 06:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kevin-Gomez10/668db8b3ebda0ac2747243336b1f7fc7 to your computer and use it in GitHub Desktop.
Save Kevin-Gomez10/668db8b3ebda0ac2747243336b1f7fc7 to your computer and use it in GitHub Desktop.
POO Act6 Figura C++ ***main.cpp*** metodos de la clase
#include <iostream>
using namespace std;
#include "clasefigura.h"
int main()
{// creando el objeto a partir de la clase figura
Figura Cuadrado;
//asignar valores.L=5;
//Llamar funciones para calcular area y perimetro
Cuadrado.Calcula_Area();
Cuadrado.Calcula_Perimetro();
cout<<"Hecho por kevin joan gomez rodriguez 190260224-0";
return 0;
}// fim de main
@Kevin-Gomez10
Copy link
Author

Link codigo funcionando -----> https://onlinegdb.com/tT4MUCZHk

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