#include <bits/stdc++.h>
using namespace std;
void Area( float r)
{
cout << "\n Area of Circle is: " << acos ( - 1 ) * r* r;
}
void Area( float angle,float a,float b)
{
cout << "\n Area of Triangle is: " << a* b* ( sin ( angle* 3.1416 / 180 ) / ( int ) 2 ) ;
}
void Area( float a,float b)
{
cout << "\n Area of rectangle is: " << a* b;
}
int main( )
{
float a,b,c;
cout << "\n Enter Degree and two arm of a triangle: " ;
cin >> a>> b>> c;
Area( a,b,c) ;
cout << "\n Enter radius of a circle: " ;
cin >> a;
Area( a) ;
cout << "\n Enter length and width of a rectengle: " ;
cin >> a>> b;
Area( a,b) ;
//cout<<endl<<sin(90);
return 0 ;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp2b2lkIEFyZWEoZmxvYXQgcikKewogICAgY291dDw8IlxuQXJlYSBvZiBDaXJjbGUgaXM6ICI8PGFjb3MoLTEpKnIqcjsKfQoKdm9pZCBBcmVhKGZsb2F0IGFuZ2xlLGZsb2F0IGEsZmxvYXQgYikKewogICAgY291dDw8IlxuQXJlYSBvZiBUcmlhbmdsZSBpczogIjw8YSpiKihzaW4oYW5nbGUqMy4xNDE2LzE4MCkvKGludCkyKTsKfQoKdm9pZCBBcmVhKGZsb2F0IGEsZmxvYXQgYikKewogICAgY291dDw8IlxuQXJlYSBvZiByZWN0YW5nbGUgaXM6ICI8PGEqYjsKfQppbnQgbWFpbigpCnsKICAgIGZsb2F0IGEsYixjOwogICAgY291dDw8IlxuRW50ZXIgRGVncmVlIGFuZCB0d28gYXJtIG9mIGEgdHJpYW5nbGU6ICI7CiAgICBjaW4+PmE+PmI+PmM7CiAgICBBcmVhKGEsYixjKTsKICAgIGNvdXQ8PCJcbkVudGVyIHJhZGl1cyBvZiBhIGNpcmNsZTogIjsKICAgIGNpbj4+YTsKICAgIEFyZWEoYSk7CiAgICBjb3V0PDwiXG5FbnRlciBsZW5ndGggYW5kIHdpZHRoIG9mIGEgcmVjdGVuZ2xlOiAiOwogICAgY2luPj5hPj5iOwogICAgQXJlYShhLGIpOwogICAgLy9jb3V0PDxlbmRsPDxzaW4oOTApOwoKICAgIHJldHVybiAwOwp9Cg==