Odpowiedź :
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int x,y,w;
cout << "Podaj x: ";
cin >> x;
cout << "Podaj y: ";
cin >> y;
w=pow(x,y);
cout << "Wynik to: " << w;
return 0;
}
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int x,y,w;
cout << "Podaj x: ";
cin >> x;
cout << "Podaj y: ";
cin >> y;
w=pow(x,y);
cout << "Wynik to: " << w;
return 0;
}