#include <iostream>
#include <math.h>
usingnamespace std;
int main ()
{
int a = 5;
int b = 5;
int c;
a = sqrt(pow(a, 2) + pow(b, 2));
cout << c;
return 0;
}
why can't the first argument of pow() and sqrt() be an integer?
how can I make the script work?