Can this code be shortened using variables?

A "crappy" code doing the job is a lot better then an "expert" code that nobody understand, nobody can maintain,or doesn't work.
Wait a few years and look at Your old codes...... You will learn things!

1 Like