formatting source-code for d7af6fdc8c

This commit is contained in:
github-actions
2020-05-29 23:26:30 +00:00
parent edb3d51ec2
commit 7ad1f171c1
176 changed files with 5342 additions and 4288 deletions

View File

@@ -14,7 +14,8 @@
/**
* Recursively compute sequences
*/
int fibonacci(unsigned int n) {
int fibonacci(unsigned int n)
{
/* If the input is 0 or 1 just return the same
This will set the first 2 values of the sequence */
if (n <= 1)
@@ -25,7 +26,8 @@ int fibonacci(unsigned int n) {
}
/// Main function
int main() {
int main()
{
int n;
std::cin >> n;
assert(n >= 0);