ตวอยางการเขยน Flowchart )ตวอยางทำซำ ) เขยน Flowchart เพอคำนวณภาษทพนกงานตองชำระหลายคน อตราภาษSTART 10% START Input salary Tax = salary * 0. 1 Print salary, tax Y salary>0 N STOP Input salary Salary>0 Y Tax = salary * 0. 1 Print salary, tax N STOP
ตวอยางการเขยน Flowchart ใหบวกเลข 1 ถง START X=1 TOTAL = 0 TOTAL = TOTAL + X X=X+1 N X > 10 Y Print TOTAL STOP 10
ตวอยางการเขยน Flowchart ใหบวกเลขจำนวนทหนง START เลขจำนวนทสอง TOTAL = 0 Input First, last TOTAL = TOTAL + First = First + 1 N First > last 10 Y Print TOTAL STOP ถง