The first if uses multiple statements after it, so you need to add brackets around them.
Also, you should probably put all of this into a separate function from main if you know how to.
Oh, and you might want to use switches instead of stacking these ifs everywhere.
And you need something for if they don't input the correct things.
Also, what's happening is that your code is running down into the next ifs. Put a return 0 into the ifs after the yourAnswer2 things (and add brackets to the ifs)