I’m having trouble understanding how this method works. I believe it is a way to add up all the assets for one employee, but how does a certain employee get a certain amount of assets. Which part of the program gives employee 1 $153 (917) vs. employee 2 $119 (717)?
Also, since we are using a random number generator, why are the values of assets for each employee always the same every time I run the program?
Thanks a lot!