Write the code for a function that receives a copy of the value stored in an Integer

Question:

Write the code for a function that receives a copy of the value stored in an Integer variable. The function should divide the value by 2 and then return the result, which may contain a decimal place. Name the function GetQuotient. Then write an appropriate statement to invoke the function, passing it the intNumber variable. Assign the function’s return value to the dblAnswer variable.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: