emmm
public class Solution {
public double Power(double base, int exponent) {
double basere=1;
if(exponent < 0){
for(int i =0;i<Math.abs(exponent);i++){
basere = basere * (1/base);
}
}
else{
for(int i =0;i<Math.abs(exponent);i++){
basere = basere * (base);
}
}
return basere;
}
}