Wyo C++ Name
-
Ch. 9 Wksht #5
Write a function that accepts an integer parameter and returns the remainder obtained when dividing that parameter by 3.
Write out the complete function definition below following the function header provided.
int remainder3(int intIn)
// precondition: 1 <= intIn <= MAX_INT
// postcondition: returns the remainder of intIn divided by three