karan / Projects

:page_with_curl: A list of practical projects that anyone can solve in any programming language.
https://twitter.com/karangoel
MIT License
44.57k stars 10.52k forks source link

Factor a word, and present its factors as characters #111

Open derekriemer opened 6 years ago

derekriemer commented 6 years ago

This is an absolutely crazy problem, I invented just for fun when I was learning python. Take a word the user is given, say waffles. Then, for every letter in the word, factor its unicode value, and then add 32 to the result. Now, write the resulting letters for those digits to the screen. For added fun, grab the text from a large chunk of text, like a bible.

AzaubaevViktor commented 6 years ago

So what's problem?

sbelidhe commented 6 years ago

Please refer to the code WordFactorial written in java