top of page
< Back

Welcome Message

Inputs and Outputs

1 Easy

Write a program that accepts the user’s name and age. It should output a welcome message like: “Welcome to the program, Dave. You are currently 15 years old.”

💡 How to Approach This Challenge:

  • Inputs: User’s name, age

  • Outputs: Welcome message with embedded name and age

  • Calculations/Logic: None

  • Structure: Use simple print() and input() statements

  • Functions: Optional (can be done in main body)

📄 Suggested Pseudocode:
INPUT name
INPUT age
OUTPUT "Welcome to the program, " + name + ". You are currently " + age + " years old."
        
bottom of page