This thread should have stopped at «I will use it if I can't manage to finish my own in time.»
Yes, especially when I asked a question to help me understand inheritance and polymorphism better with code that would actually work, "Solve my homework for me, and do it in a manner I approve of, and I guess if that's the best you can do I'll use it" manages to get actual solutions.
Thank you so much for your code. I will use it as a last resort if I somehow can't manage to finish my own in time. That means that I still have time left and I am awaiting some helpful opinions and comments regarding my own code (and its algorithm), and avoid cheating when unnecessary. Your algorithm & code may look standard and more professional, but I think mine is a little bit faster than yours.
If THAT is the case then you are expressly forbidden from using my code, PERIOD.
For someone wanting help you sure have a bad attitude when others offer FREE help.
Continue creating flawed and unworkable code, and spurning help that points to code that actually works.
(Decimal to hexadecimal converter)
Input an integer you want hexalized : 3820
Do you want some additional animation effect? (Y/N) : N
The hexadecimal number is :
+ My approach : 0xEEC
+ Expected : 0xeec
2.
(Decimal to hexadecimal converter)
Input an integer you want hexalized : 20
Do you want some additional animation effect? (Y/N) : Y
0x1
0x2
0x3
0x4
0x5
0x6
0x7
0x8
0x9
0xA
0xB
0xC
0xD
0xE
0xF
0x10
0x11
0x12
0x13
0x14
The hexadecimal number is :
+ My approach : 0x14
+ Expected : 0x14
It is so fascinating you put so much efforts in correcting my code like that. And this feels very unique. It is like "these things that you tell me" are well beyond informative and they are so detailed. I can feel like I am reading a beautiful and creative essay for real which is no doubt flowing so smoothly from the very beginning to the very end. I never feel "forced" at all, you explained throughly every single little thing and pay close attention to every possible details, so in order to make sure that I could get to realize and recognize every single mistake I have made with ease and with absolutely no difficulty. You also never ever changed your tone throughout your entire explanation, you are impressing me with that cute gentle side of yours and you never ever say a harsh thing to me regarding something that may be considered trivial or even stupid. Thus, you earn my total respect, my reward, my trust and you have throughly captured my heart. To me, you are just too perfect, a wonderful mysterious gentleman indeed. I just want to express my pure gratitude to you as detailed as possible (just as much as how you invested and took your time to give me an explanation as detailed and as valuable as possible). I want to talk to you more, and I will definitely make sure to send you my own hello personal message just in case.