3-Variant
Misol: R radiusli aylananing uzunligi, doiraning yuzi, va sharning hajmini toppish
Yechim:
#include
#include
using namespace std;
int main ()
{
float R,L,S,V;
L=2*M_PI*R;
S=M_PI*double(R);
V=4*M_PI*pow(R,3)/3;
cout<<"R ni kiriting:";
cin>>R;
cout<Download 42,15 Kb. Do'stlaringiz bilan baham: |