Run Error In all the Test cases

Mam i have submitted and is perfectly running on ecllipse ide but here run error occur why is this so happening.

here is your corrected code with comments:


if this solves your doubt please mark it as resolved