diff options
| author | Wyatt <[email protected]> | 2022-11-08 19:48:46 -0800 |
|---|---|---|
| committer | Wyatt <[email protected]> | 2022-11-08 19:48:46 -0800 |
| commit | 4ee5f1f5bbddc0af101b601af7dd88ca63668184 (patch) | |
| tree | 426f208afc752e10cb6d440a23ecbf853b1049a8 | |
| parent | done (diff) | |
| download | cst116-ch11-debugging-johnson-4ee5f1f5bbddc0af101b601af7dd88ca63668184.tar.xz cst116-ch11-debugging-johnson-4ee5f1f5bbddc0af101b601af7dd88ca63668184.zip | |
| -rw-r--r-- | Chapter11_psuedocode.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Chapter11_psuedocode.txt b/Chapter11_psuedocode.txt new file mode 100644 index 0000000..322aa48 --- /dev/null +++ b/Chapter11_psuedocode.txt @@ -0,0 +1,21 @@ +character array name[20][21] +integery age[20] +record counter integer. + +input stream inFile + +output file stream outFile + +open input and output sreams with correct filenames +if the file opens, continue, otherwise error and return. + +read the data from the file, save the inputs to name and age, counter++ for each line read +close inFile + +if outFile is open, continue, otherwise error and return. + +Write to the output file, output file will be a table of names and ages +Print totals and summaries to the console. +close outFile. + +return0
\ No newline at end of file |