include <iostream>
using namespace std;
int numOfDivisors(int num) {
int count = 0;
for (int i = 1; i <= num; ++i) {
if (num % i == 0) {
count++;
}
}
return count;
}
int main() {
// Count the divisors for numbers from 10 to 20
for (int n = 10; n <= 20; ++n) {
int result = numOfDivisors(n);
std::cout << “Number of divisors for ” << n << ” is: ” << result << std::endl;
}
std::cout << “Hello World!\n”;
}