18. Kesik konusni ifodalovchi klass яrating.
S2=pi*R*R;
cout<<"Konus asosining yuzi "<
S=S1+S2;
cout<<"Konusning to'la sirt yuzi "<V=(pi*R*R*h)/3;
cout<<"Konusning Hajmi "<
}
};
int main()
{
cout<<"Konusning yasovchisini kiriting:\n";
cin>>l;
cout<<"Konus asosining radiusini kiriting:\n";
cin>>R;
cout<<"Konusning balantligini kiriting:\n";
cin>>h;
Kes_konus a;
a.S_yon();
return 0;
}
}
Do'stlaringiz bilan baham: