Gallery
Debug 2.4. No Errors - Wrong Output with starter code
Share
Explore
Debug 2.4. No Errors - Wrong Output with starter code

icon picker
The Task

Activity: Debug 2.4 No errors but wrong output? 🐞

Start Here

A bug report has been has been submitted on this program. The program is running without any error messages but we are getting the wrong output. Can you help fix it?
Run the program to identify errors.
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.

Expected output

Welcome to Hawkins High School
================================

Pupil name: Max Myles
Pupil age: 15
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.