Question: Program 4, functions: Create an interactive program using 3 user-defined functions. Greet the user void Greeting(); Get 4 integers from the user int GetInt(); Find
Program 4, functions: Create an interactive program using 3 user-defined functions. Greet the user void Greeting(); Get 4 integers from the user int GetInt(); Find the absolute value of the difference of the first integer and the second integer Print the result onto the screen Find the absolute value of the difference of the third integer and the fourth integer Print the result onto the screen Get 4 doubles from the user double GetDouble(); Calculate the quotient of the first double divided by the second double DO NOT ALLOW DIVIDE BY ZERO Print the result onto the screen Calculate the quotient of the third double divided by the fourth double DO NOT ALLOW DIVIDE BY ZERO Print the result onto the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
