i dont know about what condition to stop input? Anyone can help me?
read inputs like while(scanf("%d",&n)!=EOF) { //do all processing here }
can you show me the your pseudocode or your sourcecode? Im already confused about this problem I already use different kind og language programming and still not working
if (can I append n to list?) /// this is to be or not to be question in this pseudocode ;-) count ++ ///} print count
Check out this submission: https://ideone.com/0KRakV