Question: in c++ please A. Write a function isDivisbleBy that takes two integer arguments and return (true) if the first value is divisible by the second,
A. Write a function isDivisbleBy that takes two integer arguments and return (true) if the first value is divisible by the second, and (false) otherwise. B- Test this function in a your main with numbers entered from user. The following should be taken into consideration: 1. The return type of the function is Boolean, and the parameters of the function must be of type integer: bool isDivisbleBy (int number 1 , int number2); where bool is data type that can have two values either true or false
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
