题目内容
用条件语句描述下面的算法流程图.
![]()
Read x
If x<0 Then
y←2×x+3
Else
If x>0 Then
y←2×x-5
Else
y←0
End If
End If
Print y
End
解析:
Read x
If x<0 Then
y←2×x+3
Else
If x>0 Then
y←2×x-5
Else
y←0
End If
End If
Print y
End
练习册系列答案
相关题目