endl is a single word, not two as "end l".
Also, in your last line, you talk about "a and b", but only one value was entered by the user (a), so you're confusing the user.