#include
using namespace std;
int main(){
int a,b,c,p,r,q;
cout<<"O'lchamlari a x b x c bo'lgan to'g'rito'rtburchakli qutiga p x r x q o'chamdagi to'g'rito'rtburchakli taxta bo'lagini joylashtirish mumkinmi?\n";
cout<<"a=";cin>>a;
cout<<"b=";cin>>b;
cout<<"c=";cin>>c;
cout<<"p=";cin>>p;
cout<<"r=";cin>>r;
cout<<"q=";cin>>q;
if(a>p&&b>r&&c>q) {cout<<"mumkin\n";
}else cout<<"mumkin emas\n";
main();}
Do'stlaringiz bilan baham: |