11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LESSON 32USER FRIENDLY PROGRAMSThere are two kinds of users:1. Most want to run the program. They need:instructionspromptsclear writing on the screenno clutter on the screenerasing old stuff from the screennot too much key pressingprotection from their own stupid errors2. Some want to change the program. They need:a program made in partseach part with a title in a REMexplanations in the program(Don't forget you are a user of your own programs, too! Be kind to yourself!)PROGRAMS HAVE THREE PARTS"STARTING STUFF": at the beginning of the program run.give instructions to the userdraw a screen displayset variables to their starting valuesask the user for starting informationMAIN LOOP:controls the order in which tasks are donecalls subroutines to do the tasksSUBROUTINES:do parts of the program185

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!