Created
June 1, 2021 06:07
-
-
Save Kevin-Gomez10/668db8b3ebda0ac2747243336b1f7fc7 to your computer and use it in GitHub Desktop.
POO Act6 Figura C++ ***main.cpp*** metodos de la clase
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
#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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Link codigo funcionando -----> https://onlinegdb.com/tT4MUCZHk