0
Do you have any suggestion?
4 Answers
+ 15
You can show your code in these threads and get suggestions:
https://www.sololearn.com/discuss/830853/?ref=app
https://www.sololearn.com/discuss/452626/?ref=app
https://www.sololearn.com/discuss/347139/?ref=app
+ 7
https://www.tools4noobs.com/online_tools/base_convert/
https://www.rapidtables.com/convert/number/base-converter.html
https://www.rapidtables.com/calc/math/base-calculator.html
+ 1
Suggestions:
1) Comments! Put a comment saying the author, date and what the program does as a whole. Then add comments to describe what the code is doing.
2) Create some unit tests.
3) Instead of putting the code all in main(), put it in a separate function, with a meaningful name. Then call that from main. That function can then be used in the unit tests.
0
Hello friends, When I needed RGB to hex converter in photo editing, I found a https://codebeautify.org/rgb-to-hex-converter tool that I got used to. It has been so useful to me, I hope you will be used too.