C program to read the values of x, y and z and print the results expressions in one line.


Problem Statement : Write a program to read the values of x, y and z and print the results of the following expressions in one line.

  1. (x+y+z) / (x-y-z)
  2. (x+y+z) / 3
  3. (x+y) * (x-y) * (y-z)

Output: