Exponentation by squaring is an algorithm that will quickly calculate x^n given user input. x and n are integers in this case. This implementation uses recursion, whereby a function calls itself within it's own body. The answer is outputted on the console.
-
Notifications
You must be signed in to change notification settings - Fork 0
Exponentation by squaring is an algorithm that will quickly calculate x^n given user input. x and n are integers in this case. This implementation uses recursion, whereby a function calls itself within it's own body. The answer is outputted on the console.
smmcgrath/ExponentiationBySquaring
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Exponentation by squaring is an algorithm that will quickly calculate x^n given user input. x and n are integers in this case. This implementation uses recursion, whereby a function calls itself within it's own body. The answer is outputted on the console.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published