Posted by: KaLaNkIsThAn November 12, 2004
Some C program help needed
Login in to Rate this Post:     0       ?        
sssq bro, hint dim?? for part1: lets say you have initialized int a, b, c; a = 7631; while a is greater than zero b = a/10 makes b = 763 c = a%10 gives c = 1 (last digit of 7631) a = b; (now a is 763) print c end while loop. I am sure it will work. For part 2: Check this thread. Echoes bro has already done that program. - http://www.sajha.com/sajha/html/openthread.cfm?forum=2&ThreadID=17523&show=all#94784 enjoy programing. :P
Read Full Discussion Thread for this article