Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, I needed help debugging this programming assignment. Debugging Exercise 9-1 DInstructions DebugNine1.java Looks up author of selected books 2 import java.util. 3 class DebugNine1

Hello, I needed help debugging this programming assignment.image text in transcribedimage text in transcribed

Debugging Exercise 9-1 DInstructions DebugNine1.java Looks up author of selected books 2 import java.util. 3 class DebugNine1 The files provided in the code editor to the right contain syntax and/or logic errors. In each case, determine and fix the problem, remove all syntax and coding errors, and run the program to ensure it works properly > 5 public static void main(String[] args) Scanner input new Scanner (Systen. in): String[][] books = new String[6][2]; books[0jre"Ulysses" books [0][1]"Janes Joyce books[1]8]"Lolita" books[1]1]"Vladinir Nabokov" books [2]1e]"Huckleberry Finn books[2][1] "ark Twatn books[3]"Great Gatsby" books[3]1]F. Scott Fitzgerald" books[4]0e]"1984 books[4101] George Orwell" books [51]"Sound and the Fury books [5][1] "William Faulkner" Grading Write your Java code in the area on the right. Use the Run button to compile and run the code. Clicking the Run Checks button will run pre-configured tests against your code to calculate a grade. 10 Once you are happy with your results, click the Submit button to record your score. 14 15 16 18 21 String entry, shortEntry 23 message-"Enter the first three characters of a book title "+" ontt1ng \"A\" or \"The\" 24 25 26 27 28 29 30 31 32 int nun, x boolean isFound = true while(!isFound) System.out.println(essage): entry-1nput.next) shortEntry-entry.substring(.3): for(x-: x

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions

Question

=+What religious holidays do you celebrate?

Answered: 1 week ago