Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

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" >PreviousNext Module:
Class Notes" >Next
Answered Same Day Jun 19, 2021

Solution

Neha answered on Jun 19 2021
148 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