In the following pseudocode example, it takes half as many lines to hard code bouncing a ball 10 times rather than a variable number of times. See pseudocode. Hard Coded (fixed number) start 1 ...
all in sequence: ask how old the dog is in human years multiply human years by seven to find out how old the dog is in dog years print the answer on the screen In pseudocode, the algorithm would ...