#include <iostream>

int main() {
    //declarar variables
    float b=8;
    float h=6;
    int l1=7;
    int l2=9;
    //proceso
    int area=(b*h)/2;
    int perimetro=b*l1+l2;
    std::cout << "area es " << area << std::endl;
    std::cout << "perimetro es " << perimetro << std::endl;
    std::cout << "Hello world!" << std::endl;
    return 0;
}

Embed on website

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