JAVA PROGRAM THIS PROGRAM MUST WORK IN HYPERGRADE.  The output should DISPLAY the following: Enter a name to search or type QUIT to exit:\n And then I type Anabelle  AND PRESS ENTER and print out this: The name 'Annabelle' was not found in either list.\n And then repeat Enter a name to search or type QUIT to exit:\n AND THEN I TYPE xavier and press enter and print out  The name 'Xavier' was found in popular boy names list (line 81).\n Then repeat Enter a name to search or type QUIT to exit:\n and then I type AMANDA and press enter and print out The name 'Amanda' was found in popular girl names list (line 63).\n then repeat Enter a name to search or type QUIT to exit:\n then I type jOrdAn and press enter and print out  The name 'Jordan' was found in both lists: boy names (line 38) and girl names (line 75).\n then repeat Enter a name to search or type QUIT to exit:\n and then I type quit and press enter to end the program.  I HAVE PROVODED THE SCREENSHODE OF THE TEXTFILES AND THE TEST CASE IS DOWN BELOW.     TEST CASE 1   Enter a name to search or type QUIT to exit:\n AnnabelleENTER The name 'Annabelle' was not found in either list.\n Enter a name to search or type QUIT to exit:\n xavierENTER The name 'Xavier' was found in popular boy names list (line 81).\n Enter a name to search or type QUIT to exit:\n AMANDAENTER The name 'Amanda' was found in popular girl names list (line 63).\n Enter a name to search or type QUIT to exit:\n jOrdAnENTER The name 'Jordan' was found in both lists: boy names (line 38) and girl names (line 75).\n Enter a name to search or type QUIT to exit:\n quitENTER

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter12: Working With Document Nodes And Style Sheets: Creating A Dynamic Document Outline
Section: Chapter Questions
Problem 9CP4
icon
Related questions
Question

JAVA PROGRAM

THIS PROGRAM MUST WORK IN HYPERGRADE.  The output should DISPLAY the following: Enter a name to search or type QUIT to exit:\n And then I type Anabelle  AND PRESS ENTER and print out this: The name 'Annabelle' was not found in either list.\n And then repeat Enter a name to search or type QUIT to exit:\n AND THEN I TYPE xavier and press enter and print out  The name 'Xavier' was found in popular boy names list (line 81).\n Then repeat Enter a name to search or type QUIT to exit:\n and then I type AMANDA and press enter and print out The name 'Amanda' was found in popular girl names list (line 63).\n then repeat Enter a name to search or type QUIT to exit:\n then I type jOrdAn and press enter and print out 
The name 'Jordan' was found in both lists: boy names (line 38) and girl names (line 75).\n then repeat Enter a name to search or type QUIT to exit:\n and then I type quit and press enter to end the program. 

I HAVE PROVODED THE SCREENSHODE OF THE TEXTFILES AND THE TEST CASE IS DOWN BELOW.
 
 
TEST CASE 1
 
Enter a name to search or type QUIT to exit:\n
AnnabelleENTER
The name 'Annabelle' was not found in either list.\n
Enter a name to search or type QUIT to exit:\n
xavierENTER
The name 'Xavier' was found in popular boy names list (line 81).\n
Enter a name to search or type QUIT to exit:\n
AMANDAENTER
The name 'Amanda' was found in popular girl names list (line 63).\n
Enter a name to search or type QUIT to exit:\n
jOrdAnENTER
The name 'Jordan' was found in both lists: boy names (line 38) and girl names (line 75).\n
Enter a name to search or type QUIT to exit:\n
quitENTER
 
 

 

L
8:34 S
BOYNAMES.TXT.jpg
Search
OT5GUC 57%
content://media/external/fil 5
Jacob Michael Joshua Matthew Daniel
Christopher Andrew Ethan Joseph William
Anthony David Alexander Nicholas Ryan
Tyler James John Jonathan Noah Brandon
Christian Dylan Samuel Benjamin Zachary
Nathan Logan Justin Gabriel Jose Austin
Kevin Elijah Caleb Robert Thomas Jordan
Cameron Jack Hunter Jackson Angel Isaiah
Evan Isaac Mason Luke Jason Gavin Jayden
Aaron Connor Aiden Aidan Kyle Juan Charles
Luis Adam Lucas Brian Eric Adrian Nathaniel
Sean Alex Carlos Bryan Ian Owen Jesus
Landon Julian Chase Cole Diego Jeremiah
Steven Sebastian Xavier Timothy Carter
Wyatt Brayden Blake Hayden Devin Cody
Richard Seth Dominic Jaden Antonio Miguel
Liam Patrick Carson Jesse Tristan Alejandro
Henry Victor Trevor Bryce Jake Riley Colin
Jared Jeremy Mark Caden Garrett Parker
Marcus Vincent Kaleb Kaden Brady Colton
Kenneth Joel Oscar Josiah Jorge Cooper
Ashton Tanner Eduardo Paul Edward Ivan
Preston Maxwell Alan Levi Stephen Grant
Nicolas Omar Dakota Alexis George Collin Eli
Spencer Gage Max Cristian Ricardo Derek
Micah Brody Francisco Nolan Ayden Dalton
Shane Peter Damian Jeffrey Brendan Travis
Fernando Peyton Conner Andres Javier
Giovanni Shawn Braden
Cesar Bradley
Emmanuel Manuel Edgar Erik Mario Edwin
Johnathan Devon Erick Wesley Oliver
Trenton Hector Malachi Jalen Raymond
Gregory Abraham Elias Leonardo Sergio
Donovan Colby Marco Bryson Martin
O
GIRLNAMES.TXT.jpg
Search
12:39 1
OT lll 50%
Emily Madison Emma Olivia Hannah Abigail
Isabella Samantha Elizabeth Ashley Alexis
Sarah Sophia Alyssa Grace Ava Taylor
Brianna Lauren Chloe Natalie Kayla Jessica
Anna Victoria Mia Hailey Sydney Jasmine
Julia Morgan Destiny Rachel Ella Kaitlyn
Megan Katherine Savannah Jennifer
Alexandra Allison Haley Maria Kaylee Lily
Makayla Brooke Mackenzie Nicole Addison
Stephanie Lillian Andrea Zoe Faith Kimberly
Madeline Alexa Katelyn Gabriella Gabrielle
Trinity Amanda Kylie Mary Paige Riley Jenna
Leah Sara Rebecca Michelle Sofia Vanessa
Jordan Angelina Caroline Avery Audrey
Evelyn Maya Claire Autumn Jocelyn Ariana
Nevaeh Arianna Jada Bailey Brooklyn
Aaliyah Amber Isabel Danielle Mariah
Melanie Sierra Erin Molly Amelia Isabelle
Madelyn Melissa Jacqueline Marissa Shelby
Angela Leslie Katie Jade Catherine Diana
Aubrey Mya Amy Briana Sophie Gabriela
Breanna Gianna Kennedy Gracie Peyton
Adriana Christina Courtney Daniela Kathryn
Lydia Valeria Layla Alexandria Natalia Angel
Laura Charlotte Margaret Cheyenne Mikayla
Miranda Naomi Kelsey Payton Ana Alicia
Jillian Daisy Mckenzie Ashlyn Caitlin Sabrina
Summer Ruby Rylee Valerie Skylar Lindsey
Kelly Genesis Zoey Eva Sadie Alexia Cassidy
Kylee Kendall Jordyn Kate Jayla Karen
Tiffany Cassandra Juliana Reagan Caitlyn
Giselle Serenity Alondra Lucy Kiara Bianca
Crystal Erica Angelica Hope Chelsea Alana
Liliana Brittany Camila Makenzie Veronica
Lilly Abby Jazmin Adrianna Karina Delaney
Ellie Jasmin
Transcribed Image Text:L 8:34 S BOYNAMES.TXT.jpg Search OT5GUC 57% content://media/external/fil 5 Jacob Michael Joshua Matthew Daniel Christopher Andrew Ethan Joseph William Anthony David Alexander Nicholas Ryan Tyler James John Jonathan Noah Brandon Christian Dylan Samuel Benjamin Zachary Nathan Logan Justin Gabriel Jose Austin Kevin Elijah Caleb Robert Thomas Jordan Cameron Jack Hunter Jackson Angel Isaiah Evan Isaac Mason Luke Jason Gavin Jayden Aaron Connor Aiden Aidan Kyle Juan Charles Luis Adam Lucas Brian Eric Adrian Nathaniel Sean Alex Carlos Bryan Ian Owen Jesus Landon Julian Chase Cole Diego Jeremiah Steven Sebastian Xavier Timothy Carter Wyatt Brayden Blake Hayden Devin Cody Richard Seth Dominic Jaden Antonio Miguel Liam Patrick Carson Jesse Tristan Alejandro Henry Victor Trevor Bryce Jake Riley Colin Jared Jeremy Mark Caden Garrett Parker Marcus Vincent Kaleb Kaden Brady Colton Kenneth Joel Oscar Josiah Jorge Cooper Ashton Tanner Eduardo Paul Edward Ivan Preston Maxwell Alan Levi Stephen Grant Nicolas Omar Dakota Alexis George Collin Eli Spencer Gage Max Cristian Ricardo Derek Micah Brody Francisco Nolan Ayden Dalton Shane Peter Damian Jeffrey Brendan Travis Fernando Peyton Conner Andres Javier Giovanni Shawn Braden Cesar Bradley Emmanuel Manuel Edgar Erik Mario Edwin Johnathan Devon Erick Wesley Oliver Trenton Hector Malachi Jalen Raymond Gregory Abraham Elias Leonardo Sergio Donovan Colby Marco Bryson Martin O GIRLNAMES.TXT.jpg Search 12:39 1 OT lll 50% Emily Madison Emma Olivia Hannah Abigail Isabella Samantha Elizabeth Ashley Alexis Sarah Sophia Alyssa Grace Ava Taylor Brianna Lauren Chloe Natalie Kayla Jessica Anna Victoria Mia Hailey Sydney Jasmine Julia Morgan Destiny Rachel Ella Kaitlyn Megan Katherine Savannah Jennifer Alexandra Allison Haley Maria Kaylee Lily Makayla Brooke Mackenzie Nicole Addison Stephanie Lillian Andrea Zoe Faith Kimberly Madeline Alexa Katelyn Gabriella Gabrielle Trinity Amanda Kylie Mary Paige Riley Jenna Leah Sara Rebecca Michelle Sofia Vanessa Jordan Angelina Caroline Avery Audrey Evelyn Maya Claire Autumn Jocelyn Ariana Nevaeh Arianna Jada Bailey Brooklyn Aaliyah Amber Isabel Danielle Mariah Melanie Sierra Erin Molly Amelia Isabelle Madelyn Melissa Jacqueline Marissa Shelby Angela Leslie Katie Jade Catherine Diana Aubrey Mya Amy Briana Sophie Gabriela Breanna Gianna Kennedy Gracie Peyton Adriana Christina Courtney Daniela Kathryn Lydia Valeria Layla Alexandria Natalia Angel Laura Charlotte Margaret Cheyenne Mikayla Miranda Naomi Kelsey Payton Ana Alicia Jillian Daisy Mckenzie Ashlyn Caitlin Sabrina Summer Ruby Rylee Valerie Skylar Lindsey Kelly Genesis Zoey Eva Sadie Alexia Cassidy Kylee Kendall Jordyn Kate Jayla Karen Tiffany Cassandra Juliana Reagan Caitlyn Giselle Serenity Alondra Lucy Kiara Bianca Crystal Erica Angelica Hope Chelsea Alana Liliana Brittany Camila Makenzie Veronica Lilly Abby Jazmin Adrianna Karina Delaney Ellie Jasmin
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Declaring and Defining the Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage