Page 1 of 1

10 pts Question 4 Fill in the blank: You will be graded on efficiency of your function Write a function is Not Multiple

Posted: Fri May 20, 2022 1:06 pm
by answerhappygod
10 Pts Question 4 Fill In The Blank You Will Be Graded On Efficiency Of Your Function Write A Function Is Not Multiple 1
10 Pts Question 4 Fill In The Blank You Will Be Graded On Efficiency Of Your Function Write A Function Is Not Multiple 1 (45.34 KiB) Viewed 38 times
10 pts Question 4 Fill in the blank: You will be graded on efficiency of your function Write a function is Not Multiple that determines for a pair of integers whether the second is not a multiple of the first or it is. The function should take two integer arguments and return true if the second is not a multiple of the first, false otherwise. This function's result is whether nMulti is NOT multiple of nBase or it is: bool is Not Multiple (int nBase, int nMult) { return 3 Examples: isNotMultiple (5, 15) returns false isNotMultiple (3,9) returns false isNotMultiple (5, 12) returns true isNotMultiple (3, 7) returns true HINT: YOU DO NOT NEED ANY CONDITIONAL STATEMENTS including ternary operator