解答题-作图题 适中0.65 引用1 组卷146
根据下面程序,画出程序框图,并说出表示了什么样的算法.
a=input(“a=”);
b=input(“b=”);
c=input(“c=”);
if a<b and a<c
print(% io (2),a);
else
if b<c
print(% io (2),b);
else
print(% io (2),c);
end
end
a=input(“a=”);
b=input(“b=”);
c=input(“c=”);
if a<b and a<c
print(% io (2),a);
else
if b<c
print(% io (2),b);
else
print(% io (2),c);
end
end
17-18高二·全国·课后作业
类题推荐
若输入t=8,则执行下列程序后输出的结果是____ .
i=input(“t=”); if t<5 y=t2+1; else if t<8 y=2t-1; else y=+1; end end print(%io(2),y); |
组卷网是一个信息分享及获取的平台,不能确保所有知识产权权属清晰,如您发现相关试题侵犯您的合法权益,请联系组卷网