summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Chapter11_psuedocode.txt21
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