diff options
| author | Tyler Taormina <[email protected]> | 2021-11-11 13:26:18 -0800 |
|---|---|---|
| committer | Tyler Taormina <[email protected]> | 2021-11-11 13:26:18 -0800 |
| commit | 3fca8fc4c0b6ae873d3d5a4cd6628134e0931a79 (patch) | |
| tree | 8301abfdaa972011848a1463796b0e9fe46eb343 | |
| parent | Add online IDE url (diff) | |
| download | cst116-lab7-till-t-3fca8fc4c0b6ae873d3d5a4cd6628134e0931a79.tar.xz cst116-lab7-till-t-3fca8fc4c0b6ae873d3d5a4cd6628134e0931a79.zip | |
Adding lab7.txt to origin
| -rw-r--r-- | lab7.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lab7.txt b/lab7.txt new file mode 100644 index 0000000..76ccd84 --- /dev/null +++ b/lab7.txt @@ -0,0 +1,30 @@ +CST116 +Module 7: Lab 7 +12a +Write a program that includes a function to read (at least 100) strings into an array. Allow the +user to either add a string or print out the contents of the array. Be sure to stop “printing” at the +end of the entered values -- don’t “print” after the end of the user’s entered data. Be sure to give +the user the chance to leave the program. +10 pts +Submit: code & runs +=============================================================================== + + +12b +Add to your program from part 12a: +An option in a function that can find a string or substring in a string in the array. This need just +be the first occurrence of the string or substring. +10 pts +Submit: code & runs + +=============================================================================== + +11c +Add to your program from part 12b: +An option in a function that can remove a string from the array (and compress the array) based +on its location in the array. Make sure that the “print” option reflects the removed string. +10 pts +Submit: code & runs +Total: 30 pts + + |