Question: Python Programming Task 1: Algorithm Tracing Consider the following algorithm: 1. Input a number x. 2. Set value i to 1. 3. Ifi is less

Python Programming
Task 1: Algorithm Tracing Consider the following algorithm: 1. Input a number x. 2. Set value i to 1. 3. Ifi is less than or equal to x, do the following. Otherwise, the algorithm is complete. a. Output the value i. b. Add to the value i. c. Repeat Step 3 with the updated values. Answer the following questions: 1. If the input x is 100, what are the first three numbers the algorithm will output? 2. Describe what the algorithm does in general. Do not restate every line of the algorithm as your answer, we already know what the algorithm is. I am looking for a generalized, one-sentence description
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
