Pseudocode

When we design a program we only use three control structures:

From the lectures of CMSC104

Generic Algorithm for Cookie Problem

Pseudocode

Observations