Module 1 Lab - Name and Email

 Objective

Objective: Write a C++ program that declares and initializes two string variables to hold your full name and email address, then displays them to the console.

 Requirements

  1. Open your preferred C++ development environment (e.g., Visual Studio Code, Code::Blocks, etc.).

  2. Create a new C++ source file.

  3. Include the necessary header file for input/output operations and use the standard namespace.

  4. Inside the main function, declare two string variables to hold your full name and email address.

  5. Write an output statement to display the stored values of these variables in the required format.

  6. Save the file and compile/run the program to see the output.

  7. Test the program with your actual full name and email address to ensure it displays correctly.

Deliverable

Upload the following:

  1. Full source code (.txt or .cpp file)

  2. Screenshot of the Console with the code executing

COSC-1336 / ITSE-1302 Computer Science - Author: Dr. Kevin Roark