第 1 步:我们为您启动了这个程序!现在让我们创建一个变量来存储矩形的面积。

  • 在逻辑中,单击.
  • 在创建my_rect的行正下方的行中拖入Integer Variable .
  • 将变量名从my_var更改为rect_area
  • 点击运行以运行您的代码!然后点击提交接下来继续。

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)