Created
June 2, 2021 05:22
-
-
Save Kevin-Gomez10/363e85a0b88a00dd43164ba9b263ca6f to your computer and use it in GitHub Desktop.
POO Act7 Figura rectangulo c++ ***gomez.cpp***
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 "gomez.h" | |
int main() | |
{//creando el objeto a partir de la Clase Figura | |
Figura Rectangulo; | |
//Asignar Valores | |
Rectangulo.h=7; | |
Rectangulo.b=13; | |
//llamar funciones para calcular area y perimetro | |
Rectangulo.Calcula_Area(); | |
Rectangulo.Calcula_Perimetro(); | |
cout<<"Hecho por Kevin Joan Gomez Rodriguez 190260224-0"; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Link codigo funcionando ------>https://onlinegdb.com/jZRYwfDXN