Ответы
Ответ дал:
0
#include <iostream>using namespace std;int main(){ float x,res; cin>>x; res=x*x+4*x+5; if(x<=2){ cout<<res<<endl; } else cout<<1/res<<endl; return 0;}
Ответ дал:
0
#include <iostream>
using namespace std;
int main(){
float x,res;
cin>>x;
res=x*x+4*x+5;
if(x<=2){
cout<<res<<endl;
}
else cout<<1/res<<endl;
return 0;
}
using namespace std;
int main(){
float x,res;
cin>>x;
res=x*x+4*x+5;
if(x<=2){
cout<<res<<endl;
}
else cout<<1/res<<endl;
return 0;
}
Вас заинтересует
2 года назад
2 года назад
3 года назад
3 года назад
9 лет назад