My Name is Bond, James Bond

Challenge #1: Hello World!

Write a program that displays the message “Hello World!”

Change your program so that it asks for the end-user to type their firstname. (e.g. “John”)

The program should then display “Hello John!”

Challenge #2: My Name is Bond, James Bond!

Write a program that asks the end-user to enter their firstname and their lastame.

When the user enters their firstname (e.g.”James”) and their lastname (e.g. “Bond”) the program should then display the following output:

“Hello my name is Bond, James Bond”

Did you like this challenge?

Click on a star to rate it!

Average rating 4.6 / 5. Vote count: 5

No votes so far! Be the first to rate this post.

As you found this challenge interesting...

Follow us on social media!