In C Program. Write functions for the four basic mathematical operations addition, subtraction, multiplication and division. Each function has two numbers as parameters and returns the result. use integers. You do NOT have to do rounding for the division.

Write a program that asks the user for numbers a and b, and then use these numbers as arguments for your functions and print the result on the screen.

The output has to be as follows:

Give a: 11

Give b: 5

11+5= 16

11-5 = 6

11*5 = 55

11/5 = 2

In C Program. Write functions for the four basic mathematical operations addition, subtraction, multiplication and division. Each function has two numbers as parameters and returns the result. use integers. You do NOT have to do rounding for the division.

Write a program that asks the user for numbers a and b, and then use these numbers as arguments for your functions and print the result on the screen.

The output has to be as follows:

Give a: 11

Give b: 5

11+5= 16

11-5 = 6

11*5 = 55

11/5 = 2

## Be the first to reply