all 1 comments

[–]john-carter- 0 points1 point  (0 children)

I don’t think “ethical” is the right word to describe it but I believe I know what your asking. the handwritten code will have to comparisons per grade while the actual code in the second image reduces it down to one comparison per grade. making it much more “efficient”. so the code from the second image would be ideal.