Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let rec (^^) m n =
- if n = 0 then 1
- else m * (m^^(n - 1))
- let a = 2
- let b = 3
- let pot = a^^b
- printf "%d do potęgi %d to %d" a b pot
- 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement