#include <iostream>
using namespace std;
int main() {
 //declararvariable
float pi= 3.1416;
int r=4;
int h=5;
//proceso
 float V=pi*r^2*h
float A=2*pi*r*(h+r);
 cout <<"elarea"<< A;
 cout <<"elvolumen" << V;
    return 0;
}

Embed on website

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