its the code here . its working fine in ecliipse and CB ide but during submission it show wrong answer . may u please explain why ?
Code is giving correst output. but during submission it shows wrong answer ,may u please tell why
thanku . its working now