19.08.2013 Views

HP·38E/38C - Slide Rule Museum

HP·38E/38C - Slide Rule Museum

HP·38E/38C - Slide Rule Museum

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

104 Decisions<br />

I<br />

C?<br />

Compute net<br />

amount.<br />

1<br />

G<br />

Here an entire group of instructions was replaced by one block in the<br />

flowchart. This is a common practice, and one which makes a flowchart<br />

extremely useful in visualizing a complete program.<br />

You can see how a flowchart is drawn linearly, from the top of the<br />

page to the bottom. This represents the general flow of the program,<br />

from beginning to end. Although flowcharting symbols sometimes vary,<br />

throughout this handbook we have held to the convention of circles for<br />

the beginning and end of a program or routine, and rectangles to<br />

represent groups of functions that take an input , process it, and yield<br />

a single output. We have used a diamond to represent a decision , where<br />

a single input can yield either of two outputs.<br />

For example, if you had two numbers and wished to write a program<br />

that would display only the larger, you might design your program by<br />

first drawing a flowchart that looks like the one shown on the following<br />

page:<br />

I

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

Saved successfully!

Ooh no, something went wrong!