Created
June 2, 2021 00:47
-
-
Save Lesliecalvillo/3988ebc5212e387d521f6d33fd038c0b to your computer and use it in GitHub Desktop.
POO Act7 Figura rectangulo c++
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 "leslie.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 leslie calvillo 190260012-9"; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
foto