It works fine when I try it.
1. It prints 2 and waits for an input number (x).
2. It prints 3 and waits for an input number (y).
3. It calculates the sum, product, quotient and difference of x and y.
4. It prints those values as shown below on my output:
24
35
Sum is: 9
Product is: 20
Quotient is: 0
Difference is: -1
What exactly do you think is wrong with the answers?