1)#include <iostream>
using namespace std;
int main() {
int a=1,b=1,c=0,d=1;
int otvet=a*(-1)+b^c-d;
cout<<otvet;
}
2)#include <iostream>
using namespace std;
int main() {
int a = 1, b = 1, c = 1, d = 1;
int otvet=a*(-1)+b^c-d;
cout<<otvet;
}
3)#include <iostream>
using namespace std;
int main() {
int a = 0, b = 0, c = 0, d = 0;
int otvet=a*(-1)+b^c-d;
cout<<otvet;
}
4)#include <iostream>
using namespace std;
int main() {
int a = 0, b = 1, c = 1, d = 0;
int otvet=-(a+b^c+(-b))+a^d;
cout<<otvet;
}
5)#include <iostream>
using namespace std;
int main() {
int a = 1, b = 0, c = 0, d = 1;
int otvet=-(a+b^c+(-b))+a^d;
cout<<otvet;
}
6)#include <iostream>
using namespace std;
int main() {
int a = 1, b = 1, c = 1, d = 1;
int otvet=-(a+b^c+(-b))+a^d;
cout<<otvet;
}
7)#include <iostream>
using namespace std;
int main() {
int a = 0, b = 0, c = 0, d = 0;
int otvet=-(a+b^c+(-b))+a^d;
cout<<otvet;
}
Объяснение:
using namespace std;
int main(){ setlocale(0, ""); double x, y, a, b, xk, xn, dx; a = 1.4; b = 2.5; cout << "Ââåäèòå xn,xk, dx = " << endl; cin >> xn; cin >> xk; cin >> dx; x = xn; cout << "Tabl" << endl; cout << "+-----------+" << endl; cout << "¦ x ¦ y ¦" << endl; while (x <= xk) { y = (log10(a*x*x+b))/(a*x+1); cout << "+-----+-----¦" << endl; cout.setf(ios::fixed); cout.precision(3); cout << "¦" << x << "¦"<< y << "¦" << endl; x = x + dx; } cout << "+-----------+"; system("pause");}