Question: Write the main() program in C that reads two integers from the standard input and calls four functions namely add(), sub(), mult() and div(), to
Write the main() program in C that reads two integers from the standard input and calls four functions namely add(), sub(), mult() and div(), to calculate the addition, subtraction, multiplication and division of the entered integers respectively, then displays them on the screen.
Note: The calculated results should be printed out from the main() function itself.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
