Question 1151732
.
Each person that works at a company is given a 5-digit code. These employees must enter their codes on a keypad 
to enter and exit the office building. The company has 80 employees.

A) How many codes are possible if there are no restrictions?
B) What is the probability of someone entering a 5-digit code at random and gaining entry to the building?
~~~~~~~~~~~~~~~



            Below is my correction to the solution by Edwin,  part  (B).



<pre>
This person "outside" can randomly enter any of 80 different codes, that belong to 80 employees.


So the answer in this case for the probability is  {{{80/100000}}} = {{{8/10000}}} = {{{1/1250}}}.
</pre>