Your coding way is just like mine :P. But your logic is awesome. Thumbs up for you to helping these niggas :P
yr y opn ni hoara
bhai dhkyn agr hum run krty hyn code ko tu is tra se error deta hy,plzzz bta dein mn kiya krun
is me to ye eror arha hy check krn plzzzz
plzzz robeen jb hum run krty hyn tu ye eror ata hy kiya krn mn plzzzz plzzz guide me....?
Save your file with this name Test.java and compile and run it again. :)
Qamar bhai... apka input.txt file shyd nhi hae ya os me data properly aligned nhi hae.
Ali 1 70
Ahmad 2 60
Ayesha 3 80
Hina 4 90
Sana 5 50
make all entries as tab delimited and save your input.txt file. the file should be in the same folder where your code is refer to?
Run and compile it on Notepad++.