- Write a void function named TestEqual() thattakes two parameters. Both parameters should be integers. Thefunction should display a message that states whether the twonumbers are equal. Hint: Your function prototype could look likevoid TestEqual(int x, int y)
- Your main function should simply prompt the user for twonumbers and then passes them to TestEqual asarguments. Hint: Your function call in main might look likeTestEqual(num1, num2
- In C++ please.
Expert Answer
Answer to Write a void function named TestEqual() that takes two parameters. Both parameters should be integers. The function sho…