Write a program that calculates the value of an expression using a known formula:
\({x + y\over {x +1}}-{x\cdot y-12 \over 34 + x}\)
x and y are variables of integer type, entered from the keyboard.
The program should output one number - the result of the expression evaluation.
Hint: do not forget that when dividing, you need to get a real number!
Sample input and output data.
Input |
Output |
1
2 |
1.78571428571429 |