Gosh, I can't figure it out, Talis (or can I?).
If you read that sentence above and you have a brain, you'd know I know what the errors would be.
Oh, snap, I read the code again and there's actually
another, much more glaring error in Nipunn's code. How could you, man? I always add that in
first.
Also, you should declare a namespace. It's a good practice.
Also, you should make x and y doubles, then ask for their input on the same line (as in, cin >> x >> y

. You just need a space between the two numbers when you input them.
Also, you should use newlines and grammar to spice it up.