include iostream include math using std cout using std cin int main se

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#include <iostream>
#include <math>
using std::cout;
using std::cin;
int main()
{
setlocale(0,"");
int a,b;
cout<<"Введите переменные: ";
cin>>a>>b;
double x = pow(a,4) + cos(b);
cout<<"Ответ = "<<x<<endl;
system("pause");
return 0;
}