LOVEGUN

Fonction Puis

Jan 3rd, 2021
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.14 KB | None | 0 0
  1. function puis (entier,facteur:LongInt):LongInt;
  2. Var
  3. j,i:LongInt;
  4. Begin
  5.     j:=1;
  6.     for i:=1 to facteur Do
  7.         j:=j*entier;
  8.     puis:=j;
  9. end;
Advertisement
Add Comment
Please, Sign In to add comment