gaokao 2015 Q8

gaokao · China · national-II-arts Not Maths
8. The algorithm idea of the flowchart on the right comes from the ``Mutual Subtraction Method'' in the ancient Chinese mathematical classic ``The Nine Chapters on the Mathematical Art''. When executing this flowchart, if the input values of $a$ and $b$ are 14 and 18 respectively, then the output value of $a$ is ( )
A. $0$
B. $2$
C. $4$
D. $14$
8. The algorithm idea of the flowchart on the right comes from the ``Mutual Subtraction Method'' in the ancient Chinese mathematical classic ``The Nine Chapters on the Mathematical Art''. When executing this flowchart, if the input values of $a$ and $b$ are 14 and 18 respectively, then the output value of $a$ is ( )\\
A. $0$\\
B. $2$\\
C. $4$\\
D. $14$