#include <iostream>
using namespace std;
int main() {
// variables 
int b=3;
int h=6;
// proceso 
int A= b*h;
int p= b+b+h+h;
cout <<"elarea" << A;
cout <<"elPerimetro" << p;
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: