精英家教网 > 高中英语 > 题目详情

以下是用Scilab编写的程序,输出ab的含义是________________

a=input(please give the first number)

b=input(please give the second number)

while a<>b

   if a=b

    a=ab

   else

    b=ba

  end

end

print(io(2)ab)

答案:略
解析:

求a,b的最大公约数


练习册系列答案
相关习题

科目:高中英语 来源: 题型:选择题

11.Have you seen Jack recently?I wonder ________with his classmates.(  )
A.how is he getting alongB.that he is getting along well
C.what he is getting alongD.if he is getting along well

查看答案和解析>>

科目:高中英语 来源: 题型:听力题

17.What does the woman mean?
A.She won't go with the man.
B.She will buy a record of rock music.
C.She will play classical music at the concert.

查看答案和解析>>

科目:高中英语 来源: 题型:听力题

2.Why did the man cut the tree down?
A.He didn't like it.
B.It was dying.
C.He hated to clean up the leaves.

查看答案和解析>>

同步练习册答案