(Solved):Heap sorting “F” words Write a Java program that heap sorts an arbitrary number of words or sentences from the least number of F’s (ignoring case) in the word to the most number of F’s in the word…. View Answer…

 

Question

Heap sorting “F” words

Write a Java program that heap sorts an arbitrary number of words or sentences from the least number of F’s (ignoring case) in the word to the most number of F’s in the word. Write a frontend in that will take in each word or phrase and then sort and print them. Example dialog:

Welcome to the F word sorter! Enter words or phrases, and it will sort

Scroll to top