Знатоки,еще один вопрос
#include
#include
using namespace std;
int main() {
double a,c,b,m,k,t,s;
cout<<"a=";
cin>> a;
cout<<"c=";
cin>> c;
b=a*a*a+a-1+log10(abs(a*a*a)+a-1);
m=(3.2*a)+(6.45*b)-c;
k=m*m*m+a-b;
t=a*a+m*b-k;
s=m+k*t;
cout<<"b="<< b <
cout<<"m="<< m <
cout<<"k="<< k <
cout<<"t="<< t <
cout<<"s="<< s <
return 0;
}
Answers & Comments
#include <iostream>
#include <cmath>
using namespace std;
int main() {
double a, c = -6.66, b, m, k, t, s;
cout << "a = ";
cin >> a;
b = pow(a, 3) + a - 1 + log(fabs(pow(a, 3) + a - 1));
m = 3.2 * a + 6.45 * b - c;
k = pow(m, 3) + a - b;
t = pow(a, 2) + m * b - k;
s = m + k * t;
cout << "b = " << b << endl;
cout << "m = " << m << endl;
cout << "k = " << k << endl;
cout << "t = " << t << endl;
cout << "s = " << s << endl;
return 0;
}