Question: (25 p) Problem 2. Consider the following algorithm including 8 steps. S1: START S2: INPUT A, B S3: T = B S4: B = A
(25 p) Problem 2. Consider the following algorithm including 8 steps. S1: START S2: INPUT A, B S3: T = B S4: B = A & B (That means B = A modulo B) S5: A = T S6: IF BO GOTO STEP S3 S7: OUTPUT A S8: END What is the the output of the algorithm for inputs A = 17424 and B = 14568 Output is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
