Which line has error in the code why it is showing th run time error