//General program for gift wrapping. |
Define: |
Paper type. |
|
Adhesive tape. |
|
Decorative Ribbon. |
|
Greeting Card. |
Start: |
//Start of program |
Loop1: |
Look at greeting cards, decorative ribbons and paper
types. |
|
If paper type and ribbon and greeting card is not acceptable:
goto Loop1 |
|
Measure paper over gift. |
|
Cut paper to size. |
Loop2: |
Place gift on paper. |
|
If gift is not correctly located for wrapping: goto
Loop2 |
Do |
Fold paper around gift. |
|
cut and apply strips of adhesive tape to the gift While
gift is not wrapped. |
|
Adorn wrapped gift with decorative ribbon. |
Loop3: |
Cut and apply adhesive tape to ribbon and gift. |
|
If the ribbon is loose: goto Loop3 |
|
Write greeting into card. |
Loop4: |
Cut and apply adhesive tape to greeting card and gift. |
|
If greeting card is loose: goto Loop4 |
Present Wrapped Gift to Intended Recipient. |
|
Is there another gift to wrap? |
|
If yes:goto Start |
End: |
//End of routine |