You are to a write a program which asks a user to enter 10 words. Save these words in an array. Using the bubble sort algorithm (see below), sort the words in an ascending order. For the output, print...

1 answer below »

You are to a write a program which asks a user to enter 10 words. Save these words in an array. Using the bubble sort algorithm (see below), sort the words in an ascending order. For the output, print out the words in the original order, in the ascending order, and in the descending order. Don't forget to write a pseudocode or flowchart BEFORE writing your code.


Your output should look something like this:


Enter 10 words: kiwi pineapple apple banana orange grapes watermeloncherry strawberry melon

Original Order:

kiwi pineapple apple banana orange grapes watermeloncherry strawberry melon
Alphabetical Order:

apple banana cherry grapes kiwi melon orange pineapple strawberry watermelon
Reversed Alphabetical Order:
watermelon strawberry pineapple orange melon kiwi grapes cherry banana apple

Challenge (10 pts):


Identify words that starts with a vowel (a, e, i, o, u):



Words that starts with a vowel:
apple orange


Bubble sort:



An Introduction to Bubble Sort - Karuna Sehgal - Medium




Rubric

Grading ScaleGrading Scale















































CriteriaRatingsPts
This criterion is linked to a Learning OutcomeCommentsInclude pseudocode in the top of your code as comments. Add more comments within your code.







10.0ptsFull Marks0.0ptsNo Marks

10.0pts

This criterion is linked to a Learning OutcomeUse of Array(s)







10.0ptsFull Marks0.0ptsNo Marks

10.0pts

This criterion is linked to a Learning OutcomeAscending OrderUsing the Bubble Sort algorithm, sort words in an ascending order.







40.0ptsFull Marks0.0ptsNo Marks

40.0pts

This criterion is linked to a Learning OutcomePrint Words in the Original List







10.0ptsFull Marks0.0ptsNo Marks

10.0pts

This criterion is linked to a Learning OutcomePrint Words in an Ascending Order







10.0ptsFull Marks0.0ptsNo Marks

10.0pts

This criterion is linked to a Learning OutcomePrint Words in a Descending Order







10.0ptsFull Marks0.0ptsNo Marks

10.0pts

This criterion is linked to a Learning OutcomeI/O StatementsRead information from user and write information to user







10.0ptsFull Marks0.0ptsNo Marks

10.0pts

Total Points:100.0

Previous Module:

Collections" aria-describedby="msf0-previous-desc" style="color: rgb(45, 59, 69); background: rgb(245, 245, 245); border: 1px solid rgb(199, 205, 209); border-radius: 3px; transition: background-color 0.2s ease-in-out 0s; display: inline-block; position: relative; padding: 8px 14px; margin-bottom: 0px; font-size: 1rem; line-height: 20px; text-align: center; vertical-align: middle; cursor: pointer; overflow: hidden; text-shadow: none; user-select: none; float: left;">Previous
Next Module:

Class Notes" style="float: right;">Next
Answered Same DayJun 19, 2021

Answer To: You are to a write a program which asks a user to enter 10 words. Save these words in an array....

Neha answered on Jun 19 2021
137 Votes
60813 - java sorting/Main.java
60813 - java...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here