aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab7/Output.txt
blob: eb8348918f7e853181b8d5eebea5f48756059f34 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
James Lawrance Lab 7
---------------------

12a -
output 1 -
                                               --String Reader--

You can enter up to one hundred strings. When finished entering, please type "done," and your strings will display.
Enter string #1: Mint
Enter string #2: Caramel
Enter string #3: Raspberry
Enter string #4: Peppermint
Enter string #5: Watermelon
Enter string #6: Strawberry
Enter string #7: Toffee
Enter string #8: Cherry
Enter string #9: done

          Mint             Caramel
          Raspberry          Peppermint
          Watermelon          Strawberry
          Toffee              Cherry

12b -
output 1 -

                                               --String Reader--

You can enter up to one hundred strings. When finished entering, please type "done," and your strings will display.
Enter string #1: a
Enter string #2: aaawaaa
Enter string #3: done

          a             aaawaaa

Enter something to find whether it exists as a string or substring in the display: w


"w" has been found in the display

output 2 -

                                               --String Reader--

You can enter up to one hundred strings. When finished entering, please type "done," and your strings will display.
Enter string #1: sgsongaeorgn
Enter string #2: done

          sgsongaeorgn

Enter something to find whether it exists as a string or substring in the display: weather


"weather" has not been found in the display

output 3 -

                                               --String Reader--

You can enter up to one hundred strings. When finished entering, please type "done," and your strings will display.
Enter string #1: Austria
Enter string #2: Australia
Enter string #3: done

          Austria           Australia

Enter something to find whether it exists as a string or substring in the display: stralia


"stralia" has been found in the display

12c -
output -
                                               --String Reader--

You can enter up to one hundred strings. When finished entering, please type "done," and your strings will display.
Enter string #1: I
Enter string #2: am
Enter string #3: not
Enter string #4: good
Enter string #5: at
Enter string #6: c++
Enter string #7: done

          I                  am
          not                good
          at                 c++

Enter something to find whether it exists as a string or substring in the display: c++


"c++" has been found in the display

Enter a string to delete from your display: not

"not" has been deleted.

          I                  am
          good                  at
                 c++