The part of an algorithm which is repeated for a fixed number of times is classified as iteration.
Iteration is basically a repeated execution of the same set of instructions in sequence until a certain condition is met. For loop is the type of iteration in which a block of instructions repeated again and again for the fixed number of times. Upon completion of the previous iteration, the next iteration starts. The iteration process stops only when the given termination condition matches.
For example, this is the syntax of for loop:
for(initialize; condition; increment);
for (int num=0; num<5; num++)
In this for loop, iteration is carried out for 5 times, starting the value of num from 0 and repeatedly iterates with an increment of one in num until the value of num is less than 5 i.e. 4. This loop terminates once the value of num becomes 5 and, in result the condition num < 5 fails to match anymore.
Therefore, the part of an algorithm which is repeated for fixed number of times is classfied as iteration.
You can learn more about itreation at
brainly.com/question/28134937
#SPJ4
Answer:
user_num = 9
while user_num > -1:
print("Body")
user_num = int(input())
print("Done")
If this answer helped consider rating and marking brainliest :)
Answer:
What-If Analysis in Excel allows you to try out different values (scenarios) for formulas. The following example helps you master what-if analysis quickly and easily.
Assume you own a book store and have 100 books in storage. You sell a certain % for the highest price of $50 and a certain % for the lower price of $20.
(i really hope this is what u needed)
C, microphone, mouse scanner all send inputs to the system :)
Answer: data design model
Explanation: