Make a C program that defines the ff. functions prototype shown below: int computeSum(int num1, int num2); //returns the computed sum int computeDifference(int num1, int num2); //returns the computed difference int computeProduct(int num1, int num2); //returns the computed product int computeQuotient(int num1, int num2); //returns the computed difference 2. Write a function main() that will implement all the functions define above. follow the sample input and output layout: sample layout: 1. Enter the math operator symbol [+ - * /] first. Type only one math operator symbol. 2. Next enter the two integers to be computed and output the result at the next line, please follow the sample layout formats
Make a C program that defines the ff. functions prototype shown below:
int computeSum(int num1, int num2); //returns the computed sum
int computeDifference(int num1, int num2); //returns the computed difference
int computeProduct(int num1, int num2); //returns the computed product
int computeQuotient(int num1, int num2); //returns the computed difference
2. Write a function main() that will implement all the functions define above. follow the sample input and output layout:
sample layout:
1. Enter the math operator symbol [+ - * /] first. Type only one math operator symbol.
2. Next enter the two integers to be computed and output the result at the next line, please follow the sample layout formats:
Step by step
Solved in 2 steps with 1 images