Answer:
The exact number would be 26.66666667 but it would be 26.
Step-by-step explanation:
Usually when dealing with decimals anything 5 and up would be rounded up but since we are dealing with money we don't round up. Since his friends lunch cost $3 every lunch the most he will be able to buy is 26. He will have about $2.5 left over which he cannot buy a lunch with so thats why you dont round up.
There are

ways of selecting two of the six blocks at random. The probability that one of them contains an error is

So

has probability mass function

These are the only two cases since there is only one error known to exist in the code; any two blocks of code chosen at random must either contain the error or not.
The expected value of finding an error is then
The answer is in the picture
Answer:
I cant see
Step-by-step explanation: