题目
Problem
Figure 2 shows the flowchart for an algorithm.
The input for the algorithm is two positive integers.
The function INT(X) is the largest integer less than or equal to X.
(a) Complete the table in the answer book, with and , showing the results at each step of the algorithm.
(4)
(b) Explain how the output, , relates to the inputs, and .
(1)
题目中文翻译
图 2 显示了算法的流程图。
算法的输入是两个正整数。
函数 INT(X) 是小于或等于 X 的最大整数。
(a) 在答案本中完成表格,取 和 ,显示算法每一步的结果。
(b) 说明输出 与输入 和 的关系。