#include <iostream>
using namespace std;
int main() {
float r = 32;
float h = 112;
float pi = 3.14;
float area1 = r * r * pi;
float area2 = 2*r*pi;
float t = area1*2+ area2*h;
float r1 = 19;
float h1 = 21;
float area3 = r1 * r1 * pi;
float area4 = r1*pi;
float t2 = area3+ area4*h1;
cout << "쌤이 내주신 이상한 도형의 겉넓이는 " << t+t2 << "\n";
}
To embed this project on your website, copy the following code and paste it into your website's HTML: