Did you know that you can navigate the posts by swiping left and right?
Program Mate; function potencia_entera(base, exp:integer) : integer; begin if (exp <> 0) then begin exp := exp - 1; potencia_entera := base * potencia_entera(base, exp); end else begin potencia_entera := 1; end; end; begin writeln(potencia_entera(2,10)); end.