FlowLogic

Further Mathematics v1.0

Mastery

1/30

Score

0000

Iterative Loop
graph TD A([Start]) --> B[Input X] B --> C{X > 0} C -- Yes --> D[X = X - 1] D --> C C -- No --> E([End])

Algorithm Challenge

If the input value is n = 5, what will be the final value of the variable Result?

Variable Trace Monitor

Iteration Var A Var B