diff --git a/lectures/08_vector_implementation/README.md b/lectures/08_vector_implementation/README.md index 67c3811..37fb6a1 100644 --- a/lectures/08_vector_implementation/README.md +++ b/lectures/08_vector_implementation/README.md @@ -14,8 +14,11 @@ What is the value of fun(2)? ```cpp int fun(int n) { -if (n == 4) return n; -else return 2*fun(n+1); + if (n == 4){ + return n; + } else { + return 2 * fun(n+1); + } } ```