Please teach me how to do this question in C++ coding An integer number’s proper
ID: 3777796 • Letter: P
Question
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)