home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CNEWS018.ZIP
/
PHONENUM.ZIP
/
PHONENUM.CHT
< prev
Wrap
Text File
|
1989-12-05
|
5KB
|
54 lines
Flowchart for phonenum.c (C News, Volume I, Issue 18)
+-----------------+
| Start |
+-----------------+
|
|
|
+-----------------+
| Get Input |
+-----------------+
|
|
|
+-----------------+
| Correct Number |-------------------------------------------------------+
| of Arguments ? | |
+-----------------+ |
| Y |
| |
| |
+-----------------+ |
+---------------------------| Add Names | |
| Y +-----------------+ |
| | N +-----------------+
| | | Display |
+-----------------+ | | Error Msg |
+---------| Ask User | +-----------------+ +-----------------+
| | for Data | | Search for | |
| +-----------------+ | Name | |
| | +-----------------+ |
| | | |
| | | |
| +-----------------+ | |
| | Write Data | | |
| | to File | +-----------------+ |
| +-----------------+ | Name Found ? |---------------------------+ |
| | +-----------------+ N | |
| | | Y | |
| | | +-----------------+ |
| +-----------------+ | | Display "No | |
+---------| Add Another | +-----------------+ | Name Found" Msg | |
Y | Name ? | | Display Name | +-----------------+ |
+-----------------+ +-----------------+ | |
| N | | |
| |------------------------------------+ |
+------------------------------------|----------------------------------------------------------------+
|
+-----------------+
| End |
+-----------------+