CJCoding With Joseph

Read and Print a Name

Read a single-word name from standard input with cin, then print a greeting. For example, if the input is Alice, the output is:

Hello, Alice!

Expected Output:

Hello, Alice!
Topics:
Printing
๐Ÿ“ฅ Auto-Input:
Alice
This input is automatically fed to your program's stdin
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cout, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.