updated code with do-whileloop
Merge branch 'master' of https://github.com/sudhakarDharwada/JavaTraining2014_15