кодеблокс язык с++ пример х1х2+х1х3+х2х2
Ответ
0/5 (0 оценок)
2
LegendaryGhost 5 лет назад
Светило науки - 64 ответа - 152 помощи
#include <iostream>
#include <cmath>
using std::cin;
using std::cout;
using std::endl;

int main()
{
int x;
cout << "Entet X = ";
cin >> x;
cout << endl << "х^1 * х^2 + х^1 * х^3 + х^2 * х^2 = ";
cout << pow(x, 3) + pow(x, 4) * 2;

return 0;
}