#include <iostream>
using namespace std;
int main() {
// variable 
int b=7;
int h=12;
int a=9;
int c=8;
//proceso 
int A=b*h/2;
int P=a+b+c;
cout << "el area" << A;
cout << "el perimetro" << 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: