Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include<iostream>using namespace std;void main(){setlocale(LC_ALL,"Rus");double S,pi,R,L;cout<<"Введите длину окружности => "<<" \n";cin>>L>>"\n";pi=3.14;R=L/2*pi;S = (pi*R)*(pi*R);cout<<"Площадь окружности = "<<S<<"\n";}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement