summaryrefslogtreecommitdiff
path: root/Pseudo Code.txt
diff options
context:
space:
mode:
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
+