**Spoj The Last Digit Re-Visited
Problem LASTDIG2 **
Here’s my code : http://ideone.com/kbCysL
Anyone Please Look into the code. Where i have gone wrong? Spoj showing WA ? ?
you are missing newline character ‘\n’ after every output . (there may be other mistakes i havenot seen the code properly )