Question: 2.18. What is Q after execution. M is a user-provided whole number greater than 1. INPUT M Q = M R=M-1 DOFOR K 1
2.18. What is Q after execution. M is a user-provided whole number greater than 1. INPUT M Q = M R=M-1 DOFOR K 1 to R Q = Q*(M-K) END FOR
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
