Module: (C++) Subroutines: Procedures and Functions - 2


Problem

4/11

Number of divisors of a number

Problem

Write a function that returns the number of divisors of a natural number
Examples
# Input Output
1 6 4