#include <iostream>

int main() {
    //declarar variables
    float b=7;
    float h=9;
    int l=3;
    //proceso
    float area=(b*h)/2;
    int perimetro=b*(2*l);
    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: