Ответы
Ответ дал:
0
#include <cstdlib>
#include <iostream>
#include <math.h>
using namespace std;
double lnsqr(double y)
{
y*=y;
y=log(y);
return y;
}
int main(int argc, char *argv[])
{
double x,a,b,c;
cin >>a; cin>>b; cin>>c;
x=lnsqr(a)+lnsqr(b)+lnsqr(c);
cout <<"x= "<<x<<endl;
system("pause");
cin.get();
return EXIT_SUCCESS;
}
#include <iostream>
#include <math.h>
using namespace std;
double lnsqr(double y)
{
y*=y;
y=log(y);
return y;
}
int main(int argc, char *argv[])
{
double x,a,b,c;
cin >>a; cin>>b; cin>>c;
x=lnsqr(a)+lnsqr(b)+lnsqr(c);
cout <<"x= "<<x<<endl;
system("pause");
cin.get();
return EXIT_SUCCESS;
}
Похожие вопросы
2 года назад
7 лет назад
7 лет назад
9 лет назад
10 лет назад
10 лет назад