Tag Archives: #yosoy196

#WSQ11

This is an interesting (and kind of difficult) program, because you have to ask the user for the lower bound and the upper bound of a secuence; then, you have to evaluate each number of that secuence, and print how many numbers are natural palindromers, no lycher numbers and lycher number candidates.

I look for some information about lycher numbers in this link: http://en.wikipedia.org/wiki/Lychrel_number

The code has so many lines, so, you can find it here:

GitHub: https://github.com/taniaprogram/SolvingProblemsWithProgramming/blob/master/lycher.cpp

Google Drive: https://drive.google.com/file/d/0B-NM4ghaDXBvVkdRWmhXTmVLNm8/view?usp=sharing

And here you can see the program working.

The only thing that I could not implement is Big Integers library because it has not been updated (you can check more information here https://mattmccutchen.net/bigint/), so, the program does not work with numbers bigger than 100.

Finally, I used math.h or cmath, and you can find information here: http://www.cplusplus.com/reference/cmath/

#TC1017 #WSQ11 #yosoy196

Its done guys!!!! Just in 50 lines 🙂 enjoy it 

My link to github.. There is my code

https://github.com/alejcbgmz/WSQ-s-Ale-Jcb-Gmz/blob/master/yosoy196/yosoy196.cpp