Heres what need to happen.
Enter two consecutive number , add them and show their average.
So The code is Quite correct
I can say
It worked before but if you try and try again .
and try to break it and it will
It'll show -NAN -NAN and -NAN