#include <iostream>

int main() {
    //declarar variables
    int h=8;
    int r=18;
    int pi=3.1416;
    //proceso
    int area=2*(pi*r)+(2*h*(pi*r));
    int perimetro=pi*(r*r)*h;
    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: