第 4 步:现在让我们问用户另一个问题,以了解提供的折扣百分比。

  • 转到图形并单击.将Ask for Float拖到程序底部。
  • 将变量更改为percent
  • 将问题中的文本更改为"What is the percent discount? (No % signs)"

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)