diff options
| author | Joe Traver <[email protected]> | 2022-11-09 23:06:35 -0800 |
|---|---|---|
| committer | Joe Traver <[email protected]> | 2022-11-09 23:06:35 -0800 |
| commit | 3abf7966e5046228d30bed7db9cab5a350196754 (patch) | |
| tree | 83b65148aa743de0b95186cd0acbd8da30d18db3 /CST116_Ch11_Debugging_Pseudo_Code.txt | |
| parent | Added error output and note of confusion (diff) | |
| download | cst116-ch11-debugging-joetraver30-3abf7966e5046228d30bed7db9cab5a350196754.tar.xz cst116-ch11-debugging-joetraver30-3abf7966e5046228d30bed7db9cab5a350196754.zip | |
Added pseudo code
Diffstat (limited to 'CST116_Ch11_Debugging_Pseudo_Code.txt')
| -rw-r--r-- | CST116_Ch11_Debugging_Pseudo_Code.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/CST116_Ch11_Debugging_Pseudo_Code.txt b/CST116_Ch11_Debugging_Pseudo_Code.txt new file mode 100644 index 0000000..c1c92c0 --- /dev/null +++ b/CST116_Ch11_Debugging_Pseudo_Code.txt @@ -0,0 +1,31 @@ +Direcitve- + Read external file data and write data to new file with a total entry count + + +Functions needed: + + function_1 (read data) + + get data and store to memory from the desired file until end of file is reached + + function_2 (write data) + + write and format data to a different file as a report + + function_3 (print data) + + add footnote of total records in file to the file and user prompt window + +Program layout + + open the input file to read the data + + check to ensure the file has been opened and create failsafe prompts to end code if it cannot be achieved + + function_1 + + check to ensure the output file is opern and create failsafe promts to end code if it cannot be opened + + function_2 + + function_3 |