Write the definition of a subprogram nrDiv that receives through parameter n a non-zero natural number (1 <= n <= 1.000.000) and returns the number of natural divisors of n.
Then write a main program that reads from standard input a non-zero natural number t, then t non-zero natural numbers, one per line or separated by spaces. For each of the t numbers, the program prints on a separate line the value returned by the call to subprogram nrDiv for that number.