...
/Coding Challenge: Improved Hello
Coding Challenge: Improved Hello
Learn how to take input from the user on runtime.
We'll cover the following...
Starting with this, build the habit of choosing good variable names.
Problem statement
Write a program that asks the user for his first name and last name. It then concatenates them and displays them in a single sentence.
Input
Prompt the user for his first and last name, let’s say she entered the following:
Enter FirstName : Alison
Enter LastName : Tyler
Expected output
Display complete name:
Hello, Alison Tyler
Coding exercise
Access this course and 1400+ top-rated courses and projects.