Question: Write a c++ program with comments using function check, which determines for a pair of integers whether the second is a multiple of the first.
Write a c++ program with comments using function check, which determines for a pair of integers whether the second is a multiple of the first. The program shall loop for 3 times and take two integer arguments and return true if the second is a multiple of the first, false otherwise. Show the output after the program is successfully executed, where one of the trials, the second integer is the last 2 digits based on your student number.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
