初識Raptor工具:設計和執行一個簡單示例

認識窗口

窗口劃分爲工具菜單欄、符號域、工作空間域和觀察窗口域

構建和執行一個簡單的流圖

  1. Start Raptor.
  2. Add a Input symbol to the flowchart by left-clicking once on the Input symbol and then adding it between Start and End. Double click to add the prompt “Enter a number:” and use the variable name Count.
  3. Next, add a Loop structure and edit its expression to
    Count < 0
  4. Add an Output symbol to output the variable Count to the MasterConsole.
  5. Add an Assignment symbol to decrement the value of Count. Edit the statement to
    Count = Count - 1
    在這裏插入圖片描述
  6. To execute the flowchart, click on .
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章