Please teach me how to do this question in C coding An integ
Please teach me how to do this question in C++ coding
An integer number’s proper divisor is any positive integer that divides the number without remainder and is less than the number. Neither zero nor any negative number is a proper divisor. Write a function that returns true if its second parameter is a proper divisor of its first parameter.
The function’s prototype is
bool properDivisor(int number, int candidate)
Solution
#include