Gallery
Debug 3.2. Storing Input with starter code
Share
Explore
Debug 3.2. Storing Input with starter code

icon picker
The Task

Activity: Debug 3.2 Storing input 🐞

Start Here

A bug report has been has been submitted on this program. The program should ask the user their name and then say hello followed by their name. This program seems to enter their name but it doesn’t display it. 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.

Expected output

Please enter your name? Grace Hopper

Hello Grace Hopper
make sure the message is perfect!
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.