summaryrefslogtreecommitdiff
path: root/CST116_Ch11_Debugging_Pseudo_Code.txt
blob: c1c92c0213e94db3303a8d5c3349c70996adab5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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