Answer: Hence, there are 15% of computers have viruses.
Explanation:
Since we have given that
Total computers in an office = 500
Number of computers to be inspected = 40
Number of computers had viruses = 6
We need to find the percentage of the computers in the building that have viruses.
So, Percentage of computers in the buildings have viruses is given by

Hence, there are 15% of computers have viruses.