+ 5
There is no mistake.
if your meaning the eof error.
Its because the program wants 6 inputs. its because its asking two inputs in one iteration of the for loop.
the for loop runs for 3 times. and each time it asks two numbers.
in total it is 6 numbers. so you should give in 6 numbers.



