Hey guys. I'm quite the beginner at C++. This question has been bugging me for hours and I CAN'T SEEM TO GET IT DOWN. Please help me! This is what I've been working on...
Write the definition of a function isMultipleOf , that receives two integer arguments and returns true if the first argument is a multiple of the second. Otherwise false is returned.
So, if the arguments are 27 and 8 the function returns false because 27 is not a multiple of 8. But if the arguments are 34 and 17 the function returns true because 34 is a multiple of 17 (2*17 is 34).
Why are you creating a class, your assignment states to:
Write the definition of a function
This function is going to get it's input from the parameters, not from the user. You'll need to create a main() that supplies the values for the parameters and calls the function.