Explore a vast range of topics and get informed answers at IDNLearn.com. Our experts provide accurate and detailed responses to help you navigate any topic or issue with confidence.

WILL MARK BRAINLIEST

Write a function called quotient that takes as its parameters two decimal values, numer and denom, to divide. Remember that division by 0 is not allowed. If division by 0 occurs, display the message "NaN" to the console, otherwise display the result of the division and its remainder.

(C++ coding)