- Home /
- Java /
- PRG420 Java Programming I /
- PRG/420 Week 4 Java 4.14 LAB: Contains the character
Details
PRG/420 Week 4 Java 4.14 LAB: Contains the character
Write a program that reads an integer, a list of words, and a character. The integer signifies how many words are in the list. The output of the program is every word in the list that contains the character at least once. Assume at least one word in the list will contain the given character. Assume that the list of words will always contain fewer than 20 words.
Ex: If the input is:
4 hello zoo sleep drizzle z
then the output is:
zoo drizzle
To achieve the above, first read the list into an array. Keep in mind that the character 'a' is not equal to the character 'A.
Additional Information
Special Price | $3.00 |
---|
Product Tags
Use spaces to separate tags. Use single quotes (') for phrases.
Check items to add to the cart or select all
-
PRG/420 Week 4 Java 4.9 LAB: Output numbers in reverse
Regular Price: $7.00
Special Price $3.00
-
PRG/420 Week 4 Java 4.11 LAB: Output values below an amount
Regular Price: $7.00
Special Price $3.00
-
PRG/420 Week 4 Java 4.12 LAB: Adjust list by normalizing
Regular Price: $7.00
Special Price $3.00
-
PRG/420 Week 4 Java 4.13 LAB: Word frequencies
Regular Price: $7.00
Special Price $3.00
-
PRG/420 Week 4 Java 4.15 LAB: Elements in a range
Regular Price: $7.00
Special Price $3.00
-
PRG/420 Week 4 Java 4.16 LAB: Two smallest numbers
Regular Price: $7.00
Special Price $3.00
You have no items in your shopping cart.