1 / 4

基本圖形

基本圖形. A. 九九乘法表之流程圖 :. 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. 井底之蛙之流程圖:. start. start. input h,d,n. Ture. day=0; night=0;. day=0; night=0;. ni ght→h. night>=h. 重見天日. 跳出井口. End. End. false. false. day=day+1;

Download Presentation

基本圖形

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. 基本圖形 A

  2. 九九乘法表之流程圖: 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

  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

  4. 井底之蛙 在很久很久以前,有一隻笨到爆的青蛙在路上跳,噗通,一個不小心就給跳進古井裡,真不曉得眼睛是拿來幹麻的,後來這隻笨青蛙不想死在這口古井裡,所以每天一直想辦法要跳出古井。 這個古井的總高度是h,這隻笨青蛙每天都會跳d的距離,可是他晚上都要睡覺,(咦~青蛙也會睡覺的喔?)每次睡覺就會往下掉n的高度,試問,這隻笨到爆的青蛙需要多少時間才會跳出這口古井勒?

More Related