diff options
| author | CEOofOogaBooga <[email protected]> | 2022-11-08 19:49:05 -0800 |
|---|---|---|
| committer | CEOofOogaBooga <[email protected]> | 2022-11-08 19:49:05 -0800 |
| commit | b40360f20b38172b69c44ba3bc1778e4f9d0e62f (patch) | |
| tree | 4510a56e6cb311913465308be86ae94734a04666 /Pseudo Code.txt | |
| parent | E (diff) | |
| download | cst116-ch11-debugging--trinh--b40360f20b38172b69c44ba3bc1778e4f9d0e62f.tar.xz cst116-ch11-debugging--trinh--b40360f20b38172b69c44ba3bc1778e4f9d0e62f.zip | |
Diffstat (limited to 'Pseudo Code.txt')
| -rw-r--r-- | Pseudo Code.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Pseudo Code.txt b/Pseudo Code.txt new file mode 100644 index 0000000..28c0e77 --- /dev/null +++ b/Pseudo Code.txt @@ -0,0 +1,18 @@ +Under main +set chararray name +set intarray age +set record counter to 0 +input infile stream (open CH11 text file) +output outfile stream + +if infile is open +recordcounter is the readdata function +infile close + if outfile is open + writeoutputfile function + printtotalandsummary function + outfile close +anything else +output trouble opening file, out/in file +output about to exit now + |