Ответы
Ответ дал:
0
#include <iostream>
#include <cmath>
int main(){
float y = 0;
float x = 0;
std::cout<<"input x "<<endl;
std::cin>>x;
if(x<13){
y=3*x+5*pow(x,2);
std::cout<<"y = "<<y<<endl;
}
else
y=7*x-sqrt(x+13);
std::cout<<"y = "<<y<<endl;
return 0;
}
#include <cmath>
int main(){
float y = 0;
float x = 0;
std::cout<<"input x "<<endl;
std::cin>>x;
if(x<13){
y=3*x+5*pow(x,2);
std::cout<<"y = "<<y<<endl;
}
else
y=7*x-sqrt(x+13);
std::cout<<"y = "<<y<<endl;
return 0;
}
Ответ дал:
0
Это С++
Вас заинтересует
1 год назад
1 год назад
6 лет назад
6 лет назад
8 лет назад
9 лет назад