Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ARQUIVO .CPP DA CLASSE RETANGULO.
- #include <iostream>
- #include "Retangulo.h"
- using namespace std;
- Retangulo::Retangulo(int l, int a)
- {
- largura = l;
- altura = a;
- }
- int Retangulo::area()
- {
- return largura*altura;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement