Tuesday, December 17, 2019

OneEntryCode

New day, new energy; decided to lay out the code for
a situation where the user enters the rgb code in one numerical
entry, with coma separation.

One removes the spaces, then the comas, to end up with
a unitary sequence of numbers in a String variable. One is then free
to convert this number to an integer.

The difficulty here is that one doesn't know how many numbers the
 user took for each color component. The code, below:






No comments: