From 5ee32c63de337d260456fb625e35b8ffa13fadad Mon Sep 17 00:00:00 2001 From: Mann Mehta <44433995+mann2108@users.noreply.github.com> Date: Wed, 15 Apr 2020 03:08:49 +0530 Subject: [PATCH] Resolve typo errors --- math/number-of-divisors.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/math/number-of-divisors.cpp b/math/number-of-divisors.cpp index fd2d40707..1b87b3e5b 100644 --- a/math/number-of-divisors.cpp +++ b/math/number-of-divisors.cpp @@ -12,7 +12,7 @@ * * Example:- N=36 * 36 = (3^2 * 2^2) - * numbe-of-divisors(36) = (2+1) * (2+1) = 9. + * number-of-divisors(36) = (2+1) * (2+1) = 9. * list of divisors of 36 = 1, 2, 3, 4, 6, 9, 12, 18, 36. **/ @@ -30,10 +30,10 @@ int number_of_divisors(int n) { } int divisors_count = 1; // If n is prime at that time vector prime_exponent_count will remain empty. - for (int i=0; i