Learn Data Structures and Algorithms with Golang
上QQ阅读APP看书,第一时间看更新

Flow chart

The flow control keywords are SET, LOOP, (WHILE, UNTIL), REP, and POSTThe following flow chart shows a formula or an algorithm to calculate the dividend given a number of shares, the face value, and the dividend percentage. The start and end are the Entry and Exit symbols. The input number of shares, share face value, and dividend percentage use the Input symbol. The compute dividend and output dividend use the Task symbol and Output symbol respectively:

 In the next section, we'll take a look at pseudo code, representation of algorithms.