Gallery
Debug 1.3. Same Line
Share
Explore
Debug 1.3. Same Line

icon picker
The Task

Activity: Debug 1.3 same-line 🐞

A bug report has been has been submitted on this program. Can you help fix the program so that it displays the expected output below?
peterPan.png
image
Notice the output is on two lines.

Start Here

Run the program. Read any error messages to identify errors. Compare your output to the expected output.
Refer to the code clips below to help you fix the errors.
Right click on your code and add a comment explaining what was wrong and how you fixed it.
Run the test. When it passes submit this to your teacher.
Good luck! 🍀
Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.