Using java: Prompt the user for two characters. Output the movies that begin with those two characters.     Test Case 3 Movie search by characters. Enter two characters.\n KnENTER Movies that start with Kn\n Knafayim\n Knal, wie vangt de bal?\n Knald eller fald\n Knald eller fald\n Knallerfrauen\n Kneipenquiz\n Knevel & van den Brink\n Knevel op zaterdag\n Knievel's Wild Ride\n Knife to the Heart\n Knight & Daye\n Knight Errant Limited\n Knight Errant Limited\n Knight Five\n Knight Rider\n Knight Rider\n Knight Rider\n Knight Rider\n Knight Rider\n Knight Rider\n Knight Rider\n Knight Rider\n Knight School with Coach Bobby Knight\n Knight School\n Knight School\n Knightmare\n Knightmare\n Knightmare\n Knights and Warriors\n Knights of Bloodsteel\n Knights of Bloodsteel\n Knights of Bloodsteel\n Knights of Bloodsteel\n Knights of God\n Knights of God\n Knights of Mayhem\n Knightwatch\n Knightwatch\n Knit & Crochet Today\n Knit One, Purl Two\n Knitting Daily Television\n Knitty Gritty\n Knock & Rock\n Knock First\n Knock Out\n Knock Three Times\n Knock on Any Door\n Knockout\n Knockout\n Knoff-Hoff-Show\n Knoff-Hoff-Show\n Knoop in je zakdoek\n KnorTime\n Knot at Home Project\n Knots Landing\n Knots Landing: Back to the Cul-de-Sac\n Know It Alls\n Know It Alls\n Know It Alls\n Know Your Bible\n Know Your Heritage: Black College Quiz\n Knowing Me, Knowing You with Alan Partridge\n Knowing Me, Knowing You with Alan Partridge\n Knowing Me, Knowing You with Alan Partridge\n Knowing Me, Knowing You with Alan Partridge\n Knowitalls\n Known Gods\n Known Universe\n Number of matches: 68\n   Test Case 4     Movie search by characters. Enter two characters.\n ZpENTER Movies that start with Zp\n No matching movies found!\n   Test Case 5     Movie search by characters. Enter two characters.\n TmENTER Movies that start with Tm\n Tmima ithon\n Tmima ithon\n Tmima ithon\n Tmunot Yafo'iyot\n Tmunot Yafo'iyot\n Number of matches: 5\n   movies in file db.txt

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

Using java:

Prompt the user for two characters. Output the movies that begin with those two characters.
 
 

Test Case 3

Movie search by characters. Enter two characters.\n
KnENTER
Movies that start with Kn\n
Knafayim\n
Knal, wie vangt de bal?\n
Knald eller fald\n
Knald eller fald\n
Knallerfrauen\n
Kneipenquiz\n
Knevel & van den Brink\n
Knevel op zaterdag\n
Knievel's Wild Ride\n
Knife to the Heart\n
Knight & Daye\n
Knight Errant Limited\n
Knight Errant Limited\n
Knight Five\n
Knight Rider\n
Knight Rider\n
Knight Rider\n
Knight Rider\n
Knight Rider\n
Knight Rider\n
Knight Rider\n
Knight Rider\n
Knight School with Coach Bobby Knight\n
Knight School\n
Knight School\n
Knightmare\n
Knightmare\n
Knightmare\n
Knights and Warriors\n
Knights of Bloodsteel\n
Knights of Bloodsteel\n
Knights of Bloodsteel\n
Knights of Bloodsteel\n
Knights of God\n
Knights of God\n
Knights of Mayhem\n
Knightwatch\n
Knightwatch\n
Knit & Crochet Today\n
Knit One, Purl Two\n
Knitting Daily Television\n
Knitty Gritty\n
Knock & Rock\n
Knock First\n
Knock Out\n
Knock Three Times\n
Knock on Any Door\n
Knockout\n
Knockout\n
Knoff-Hoff-Show\n
Knoff-Hoff-Show\n
Knoop in je zakdoek\n
KnorTime\n
Knot at Home Project\n
Knots Landing\n
Knots Landing: Back to the Cul-de-Sac\n
Know It Alls\n
Know It Alls\n
Know It Alls\n
Know Your Bible\n
Know Your Heritage: Black College Quiz\n
Knowing Me, Knowing You with Alan Partridge\n
Knowing Me, Knowing You with Alan Partridge\n
Knowing Me, Knowing You with Alan Partridge\n
Knowing Me, Knowing You with Alan Partridge\n
Knowitalls\n
Known Gods\n
Known Universe\n
Number of matches: 68\n
 

Test Case 4

 
 
Movie search by characters. Enter two characters.\n
ZpENTER
Movies that start with Zp\n
No matching movies found!\n
 

Test Case 5

 
 
Movie search by characters. Enter two characters.\n
TmENTER
Movies that start with Tm\n
Tmima ithon\n
Tmima ithon\n
Tmima ithon\n
Tmunot Yafo'iyot\n
Tmunot Yafo'iyot\n
Number of matches: 5\n
 
movies in file db.txt
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 5 images

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

How can I get test case 4 to pass?

Solution
Bartleby Expert
SEE SOLUTION
Knowledge Booster
Files and Directory
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education