JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
csHjavaB-2019
about this document
standard algorithms
modular projects
class + objects
data flow 2
courseWork
Elements
development workflow
indices
hotel
golf
More
Share
Explore
modular projects
100 common words
@
100 common words
This is a challenge task
Features
read CSV file
store and use parallel arrays
Your program should
read the files data and store it in suitable arrays
find and display the longest word, its type and its position in the 100 list
count and display the number nouns and pronouns combined
find the length of the shortest adverb
display a list of all the shortest adverbs
find the length of the largest pronouns
save a copy of all the longest pronouns including the word, its type and its position in the 100 word list
Program Structure
You will need to make a file called
hundredWords.java
with a class called
hundredWords
. You could have a top level method called
processWords()
.
Loading…
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.