Skip to content

Instantly share code, notes, and snippets.

@Lesliecalvillo
Created June 2, 2021 00:47
Show Gist options
  • Save Lesliecalvillo/3988ebc5212e387d521f6d33fd038c0b to your computer and use it in GitHub Desktop.
Save Lesliecalvillo/3988ebc5212e387d521f6d33fd038c0b to your computer and use it in GitHub Desktop.
POO Act7 Figura rectangulo c++
#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;
}
@Lesliecalvillo
Copy link
Author

foto
image

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