summaryrefslogtreecommitdiff
path: root/Pseudo Code.txt
diff options
context:
space:
mode:
authorCEOofOogaBooga <[email protected]>2022-11-08 19:49:05 -0800
committerCEOofOogaBooga <[email protected]>2022-11-08 19:49:05 -0800
commitb40360f20b38172b69c44ba3bc1778e4f9d0e62f (patch)
tree4510a56e6cb311913465308be86ae94734a04666 /Pseudo Code.txt
parentE (diff)
downloadcst116-ch11-debugging--trinh--b40360f20b38172b69c44ba3bc1778e4f9d0e62f.tar.xz
cst116-ch11-debugging--trinh--b40360f20b38172b69c44ba3bc1778e4f9d0e62f.zip
CH11 FInished (I had problems)HEADmaster
Diffstat (limited to 'Pseudo Code.txt')
-rw-r--r--Pseudo Code.txt18
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
+