1 / 3

start

九九乘法表  < 流程圖 >. start. i=1 j=1 or j=0. 是. 是. i←9. j ←9. j=j+1. ixj. 否. 否. End. i=i+1 j=1;. j=j+1. 井底之蛙 故事簡介. 以前有一隻青蛙,因為不小心掉進去古井中,但由於高度太高一直無法順利跳出來,但又不想一直困在古井中而就這樣死在古井裡,所以青蛙每天都努力要跳出井口.   而古井的高度總共是 h ,假設青蛙每天能跳 d 的高度,但因為青蛙晚上必須睡覺而往下掉落 n 的高度,請問這隻青蛙需要花多久的時間才能跳出井口呢 ?. 井底之蛙 < 流程圖 >.

Télécharger la présentation

start

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 九九乘法表 <流程圖> start i=1 j=1 or j=0 是 是 i←9 j ←9 j=j+1 ixj 否 否 End i=i+1 j=1; j=j+1

  2. 井底之蛙故事簡介 以前有一隻青蛙,因為不小心掉進去古井中,但由於高度太高一直無法順利跳出來,但又不想一直困在古井中而就這樣死在古井裡,所以青蛙每天都努力要跳出井口.   而古井的高度總共是h,假設青蛙每天能跳d的高度,但因為青蛙晚上必須睡覺而往下掉落n的高度,請問這隻青蛙需要花多久的時間才能跳出井口呢?

  3. 井底之蛙 <流程圖> start start input h,d,n Ture day=0; night=0; day=0; night=0; night→h night>=h 重見天日 跳出井口 End End false false day=day+1; night=night+d; night=night-n night=night-n

More Related