Well thank you for trying to help but I want the program to stop the moment it reaches limit of unsigned long long int and say 'Couldn't find the palindrome.'; my
if ((number >=...
Type: Posts; User: Martin Feigl
Well thank you for trying to help but I want the program to stop the moment it reaches limit of unsigned long long int and say 'Couldn't find the palindrome.'; my
if ((number >=...
Sorry about that, but I am trying to avoid someone saying I let other people do my homework so I hoped this will be enough :)
Input number:
196
Computed palindrome: 16623445888854432661...
Greetings. I am writing a program that is supposed to keep trying find a palindrome by summing up number and it's reversal (123 + 321) until it either finds one, or reaches limit of unsigned long...
Alright, thank you for your advice.
I found out that the main problem I was experiencing was fault of NetBeans terminal.
I also added check for negative numbers.
The code looks this way now:
...
Hello, I just started taking C class and I am working on my first project.
I need time in HH:MM format (24h) and the program is supposed to end if it gets wrong input.
This gets repeated 6...