Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Download the Chapter 16 source code from www.pearsonhighered.com/gaddis, and, yo

ID: 3652008 • Letter: D

Question

Download the Chapter 16 source code from www.pearsonhighered.com/gaddis, and, you wll find a text file by the name of names.txt. This file contains a list of the 65 most popular female first names in the United States according to the 1990 census. Write a program that reads these names into a String array. Use the Quicksort algorithm to sort the names in ascending order. Then allow the user to search for a name in the array. Use the binary search algorithm to perform the search.


names areMARY

PATRICIA

LINDA

BARBARA

ELIZABETH

JENNIFER

MARIA

SUSAN

MARGARET

DOROTHY

LISA

NANCY

KAREN

BETTY

HELEN

SANDRA

DONNA

CAROL

RUTH

SHARON

MICHELLE

LAURA

SARAH

KIMBERLY

DEBORAH

JESSICA

SHIRLEY

CYNTHIA

ANGELA

MELISSA

BRENDA

AMY

ANNA

REBECCA

VIRGINIA

KATHLEEN

PAMELA

MARTHA

DEBRA

AMANDA

STEPHANIE

CAROLYN

CHRISTINE

MARIE

JANET

CATHERINE

FRANCES

ANN

JOYCE

DIANE

ALICE

JULIE

HEATHER

TERESA

DORIS

GLORIA

EVELYN

JEAN

CHERYL

MILDRED

KATHERINE

JOAN

ASHLEY

JUDITH

ROSE

Explanation / Answer

import java.util.*; import java.io.*; public class female { public static void main(String[] args) throws Exception { Scanner input = new Scanner(new File("names.txt")); String[] names=new String[65]; int i=0; while(i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote