+------------+
         |            |
         V            |
   -----------        |
  / Does this \  yes  |
 <   program   >------+
  \   exit?   /
   -----------
         |
         | no
         |
         V
     +------+
     | exit |
     +------+