Question: Everything is correct except I cant get the scanner to work please help Step 1 ( 2 pts). Write output statements for the first two
Everything is correct except I cant get the scanner to work please help

Step 1 ( 2 pts). Write output statements for the first two lines of the figure. Hint: The first line starts with 6 blank spaces before the first slash symbol. Submit for grading to confirm 1 test passes. Step 2 (2 pts). Write two more output statements for the next two lines. Hint: The third line starts a slash symbol. Submit for grading to confirm 2 tests pass. Step 3 (2 pts). Write three more output statements to complete the figure without the text label. Submit for grading to confirm 3 tests pass. Step 4 (4 pts). Read from input the cat name (string). Output the cat name in the format shown. Submit for grading to confirm all tests pass. 434962.3102764.93z99y7 0/10 LabProgram.java Load default template... Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box. Enter program input (optional) test Input(fromabove) Program errors displayed here Labprogram.java: 7 : error: cannot find symbol catname = scnr.input(); symbol: method input () location: variable scnr of type scanner 1 error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
