/* This is a function for power ints
* i could use -lm but , i just want to make all needed functions as possible
* by
* eduardo.ruiz@hypersec.co.uk
*/
int
eleva(int base, int n)
{
int i,p;
if(n == 0) return -1;
p=1;
for(i=1;i<=n;++i)
p = p*base;
return p;
}