问题
解答题
编写算法,求a,b,c的最小值.
答案
求a,b,c的最小值的算法:
Read a,b,c
m←0
If a<b and a<c Then
m←a
Else If b<c Then
m←b
Else
m←c
End If
Print m
编写算法,求a,b,c的最小值.
求a,b,c的最小值的算法:
Read a,b,c
m←0
If a<b and a<c Then
m←a
Else If b<c Then
m←b
Else
m←c
End If
Print m