0% found this document useful (0 votes)
2K views

CPP 03 PDF

The document provides instructions and sample input/output for a program that greets visitors to Taiwan by their name. The program takes a name of less than 100 characters as input and outputs a message saying "Hi [Name], Welcome to Taiwan!". Example inputs of "Brian" and "Laveena" are given along with the expected outputs.

Uploaded by

bhuvangates
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

CPP 03 PDF

The document provides instructions and sample input/output for a program that greets visitors to Taiwan by their name. The program takes a name of less than 100 characters as input and outputs a message saying "Hi [Name], Welcome to Taiwan!". Example inputs of "Brian" and "Laveena" are given along with the expected outputs.

Uploaded by

bhuvangates
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Greet by Name

Shannon Lin lives in Taiwan and wants to write a program to greet visitors by their name N with the
message "Hi N, Welcome to Taiwan!". Help Shannon by completing the given program.

Boundary Conditions:

Length of N is less than 100.

Example Input/Output 1:

Input:

Brian

Output:

Hi Brian, Welcome to Taiwan!

Example Input/Output 2:

Input:

Laveena

Output:

Hi Laveena, Welcome to Taiwan!

TestCase ID: 4662

Input:

Brian

Expected Output:

Hi Brian, Welcome to Taiwan!

B.BHUVANESWARAN | AP (SG) | CSE | Rajalakshmi Engineering College 3

You might also like