Resolve errors

This commit is contained in:
Mann Mehta 2020-04-15 09:14:50 +05:30
parent 30ee762347
commit 583264da0f

View File

@ -50,6 +50,7 @@ int main() {
if (n == 0) { if (n == 0) {
std::cout << "All non-zero numbers are divisors of 0 !" << std::endl; std::cout << "All non-zero numbers are divisors of 0 !" << std::endl;
} else { } else {
std::cout << "Number of positive divisors is : " << number_of_positive_divisors(n) << std::endl; std::cout << "Number of positive divisors is : ";
std::cout << number_of_positive_divisors(n) << std::endl;
} }
} }