Using proportions, it is found that the correct option for when the machine will stop running the algorithm is:
B) 9 P.M. on Saturday.
A proportion is a fraction of a total amount, and the measures are related using a rule of three. Due to this, relations between variables, either direct or inverse proportional, can be built to find the desired measures in the problem.
The algorithm runs for 972 hours. Each day has 24 hours, hence we apply the proportion to find the number of days as follows:
972/24 = 40.5 days.
The remainder of the division of 40.5 by 7, as a week has 7 days, is of 5.5, which means that the code will finish running 5.5 days after the 9 A. M. Monday, that is at 9 P. M. on a Saturday, which means that option B is correct.
More can be learned about proportions at https://brainly.com/question/24372153
#SPJ1