print("Hello user! What is your name?")
name = input()
print("Hello, " + name + " welcome to CS112!")

Mike K.
Thank you!02/14/22
Mike K.
asked 02/13/22Write a segment of pseudocode to prompt the user for their name, and then output:
'Hello *your name here*, welcome to Comp. Sci 112'
-Make sure you give the user a prompt to answer
-Make sure you save the name to a variable and then output the variable in the reply
Can someone please help me with this?? im so confused
print("Hello user! What is your name?")
name = input()
print("Hello, " + name + " welcome to CS112!")
Mike K.
Thank you!02/14/22
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Gianna K.
02/14/22