diff options
| author | Andrei F <[email protected]> | 2022-11-30 17:28:06 -0800 |
|---|---|---|
| committer | Andrei F <[email protected]> | 2022-11-30 17:28:06 -0800 |
| commit | b99630e5ce93e5be489bc491d5d3cbc9591266c3 (patch) | |
| tree | 924df73959f2c7237ed901ef1cd5ccee8669465e | |
| parent | Finished working project (diff) | |
| download | cst116-lab3-florea-b99630e5ce93e5be489bc491d5d3cbc9591266c3.tar.xz cst116-lab3-florea-b99630e5ce93e5be489bc491d5d3cbc9591266c3.zip | |
Added output results in LabResults-Florea.txt
| -rw-r--r-- | CST116-Lab3-PseudoCode-Florea.txt | 3 | ||||
| -rw-r--r-- | LabResults-Florea.txt | 73 | ||||
| -rw-r--r-- | LabResults.txt | 1 |
3 files changed, 76 insertions, 1 deletions
diff --git a/CST116-Lab3-PseudoCode-Florea.txt b/CST116-Lab3-PseudoCode-Florea.txt new file mode 100644 index 0000000..dc874c0 --- /dev/null +++ b/CST116-Lab3-PseudoCode-Florea.txt @@ -0,0 +1,3 @@ +protype func getFileName(pass string by reference) +protype func readData(pass fstream by reference, int array, int array, int array, int array, float array, float array, float array, float array, float array) +protype func
\ No newline at end of file diff --git a/LabResults-Florea.txt b/LabResults-Florea.txt new file mode 100644 index 0000000..6bd8a92 --- /dev/null +++ b/LabResults-Florea.txt @@ -0,0 +1,73 @@ +small.txt Run Below + +Enter the name of the file including extension: +small.txt + Trip # Pick Up Drop off # of ppl Distance Fare Toll Total Cost/Mile + 1 129 7 3 1.30 7.50 0.00 7.50 5.77 + 2 36 69 1 11.41 32.00 5.76 37.76 2.80 + 3 7 41 1 4.60 15.00 5.76 20.76 3.26 + 4 150 61 2 6.75 23.00 0.00 23.00 3.41 + 5 112 17 1 3.84 15.00 0.00 15.00 3.91 + 6 80 112 6 1.64 9.50 0.00 9.50 5.79 +People transported: 14 + Total paid: 113.52 +Average cost per person: 8.11 + + + +large.txt run below + +Enter the name of the file including extension: +large.txt + Trip # Pick Up Drop off # of ppl Distance Fare Toll Total Cost/Mile + 1 129 7 3 1.30 7.50 0.00 7.50 5.77 + 2 36 69 1 11.41 32.00 5.76 37.76 2.80 + 3 7 41 1 4.60 15.00 5.76 20.76 3.26 + 4 150 61 2 6.75 23.00 0.00 23.00 3.41 + 5 112 17 1 3.84 15.00 0.00 15.00 3.91 + 6 80 112 6 1.64 9.50 0.00 9.50 5.79 + 7 256 183 1 16.08 44.50 0.00 44.50 2.77 + 8 138 166 2 7.40 24.50 6.12 30.62 3.31 + 9 142 50 5 1.70 8.00 0.00 8.00 4.71 + 10 107 163 0 3.60 17.00 0.00 17.00 4.72 + 11 132 3 2 19.10 52.00 6.12 58.12 2.72 + 12 48 41 1 4.07 18.00 4.36 22.36 4.42 + 13 132 226 1 14.30 39.00 0.00 39.00 2.73 + 14 229 151 1 3.96 14.50 4.58 19.08 3.66 + 15 238 166 1 0.76 4.50 0.00 4.50 5.92 + 16 151 238 2 0.64 5.00 2.20 7.20 7.81 + 17 138 82 4 3.00 12.00 0.00 12.00 4.00 + 18 264 231 3 10.74 32.50 0.00 32.50 3.03 + 19 170 114 5 2.01 9.00 0.00 9.00 4.48 + 20 186 87 2 3.45 12.00 0.00 12.00 3.48 + 21 209 256 1 3.79 17.00 0.00 17.00 4.49 + 22 132 107 1 17.20 52.00 6.12 58.12 3.02 + 23 232 112 1 3.10 11.00 0.00 11.00 3.55 + 24 164 141 3 2.85 10.50 0.00 10.50 3.68 + 25 129 7 3 1.30 7.50 0.00 7.50 5.77 + 26 36 69 1 11.41 32.00 5.76 37.76 2.80 + 27 7 41 1 4.60 15.00 5.76 20.76 3.26 + 28 150 61 2 6.75 23.00 0.00 23.00 3.41 + 29 112 17 1 3.84 15.00 0.00 15.00 3.91 + 30 80 112 6 1.64 9.50 0.00 9.50 5.79 + 31 256 183 1 16.08 44.50 0.00 44.50 2.77 + 32 138 166 2 7.40 24.50 6.12 30.62 3.31 + 33 142 50 5 1.70 8.00 0.00 8.00 4.71 + 34 107 163 0 3.60 17.00 0.00 17.00 4.72 + 35 132 3 2 19.10 52.00 6.12 58.12 2.72 + 36 48 41 1 4.07 18.00 4.36 22.36 4.42 + 37 132 226 1 14.30 39.00 0.00 39.00 2.73 + 38 229 151 1 3.96 14.50 4.58 19.08 3.66 + 39 238 166 1 0.76 4.50 0.00 4.50 5.92 + 40 151 238 2 0.64 5.00 2.20 7.20 7.81 + 41 138 82 4 3.00 12.00 0.00 12.00 4.00 + 42 264 231 3 10.74 32.50 0.00 32.50 3.03 + 43 170 114 5 2.01 9.00 0.00 9.00 4.48 + 44 186 87 2 3.45 12.00 0.00 12.00 3.48 + 45 209 256 1 3.79 17.00 0.00 17.00 4.49 + 46 132 107 1 17.20 52.00 6.12 58.12 3.02 + 47 232 112 1 3.10 11.00 0.00 11.00 3.55 + 48 164 141 3 2.85 10.50 0.00 10.50 3.68 +People transported: 100 + Total paid: 1052.04 +Average cost per person: 10.52
\ No newline at end of file diff --git a/LabResults.txt b/LabResults.txt deleted file mode 100644 index bfe34d2..0000000 --- a/LabResults.txt +++ /dev/null @@ -1 +0,0 @@ -RunResults
\ No newline at end of file |