Yeah. That's my problem...! I'm unable to be able to figure out the algorithm.... I'll try this by doing some examples by hand.I guess I'm just too impatient... :(
Type: Posts; User: Anish Kuriakose
Yeah. That's my problem...! I'm unable to be able to figure out the algorithm.... I'll try this by doing some examples by hand.I guess I'm just too impatient... :(
Hi everybody,
Here I come again. I feel so stuck... I'm faced with a coding exercise, the solution to which, I'm unable to find even after trying to break my head onto the wall.... :(
The...
Lol ;)
Thank you so much Hodor. You and all the other users have pointed me to the right direction. You're right. I'm using the 16-bit compiler and that's the root cause of the problem. BTW, Turbo C does...
I'm sorry for creating a confusion. I assumed the input as 12345. Well, the problem is that no matter what input I give (I mean a valid 5 digit number) it's giving me a negative value... (e.g. -11215...
It prints: "Reverse of the number is -11215" :frown:
I fail to understand why the values of n1, n2, n3, n4 and n5 do not remain the same.
I tried inserting printfs after each modulus operation,...
Hi,
This is the first time that I'm posting on this forum. I just singed up today. I had done a course on Computer Application Development about 7-8 years ago. I just wanted to brush up on my...