Write the function prototype for the divide By Two function from Pencil and Paper Exercise 1. (The answers to TRY THIS Exercises are located at the end of the chapter.)
Exercise 1
Write the C++ code for a void function that receives an integer passed to it. The function should divide the integer by two and then display the result, which may contain a decimal place. Name the function divide By Two. Name the formal parameter whole Number. (The answers to TRY THIS Exercises are located at the end of the chapter.)