Question: Please hurry! This is the prompt for my C++ program. I have already written it but I believe did something wrong with my declared integers.
Exercise 1: The purpose of this lab is to reinforce writing and calling functions in C++ Specifically, you need to construct a function that has 2 integer arguments and returns whether the first argument is a multiple of the second. The "main" function needs to test this function by using test cases which represent all possible behaviors of the function. You need to use good design principles including the preconditions and postconditions used by the author. 1 //Precondition: b does not equal 0 2 //Postcondition: If a multiple of b, will return true 4 include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
