题目内容
以下是用Scilab编写的程序,输出a,b的含义是________________.
a=input(“please give the first number”)
b=input(“please give the second number”)
while a<>b
if a>=b
a=a-b;
else
b=b-a;
end
end
print(%io(2),a,b)
答案:求a,b的最大公约数
练习册系列答案
相关题目