+ 1

Any way to improve my program?

My program works fine but is this the most efficient way to write it? https://code.sololearn.com/cZ2nqkgJvdEb/?ref=app

27th Dec 2022, 8:07 PM
Destinymineral
Destinymineral - avatar
1 Answer
+ 3
Here is simplification using math and arrays. https://code.sololearn.com/c3t5lcRopNTt/?ref=app
27th Dec 2022, 10:19 PM
Vanessa Nilsson