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
Open your preferred C++ development environment (e.g., Visual Studio Code, Code::Blocks, etc.).
Create a new C++ source file.
Include the necessary header file for input/output operations and use the standard namespace.
Inside the
main
function, declare two string variables to hold your full name and email address.Write an output statement to display the stored values of these variables in the required format.
Save the file and compile/run the program to see the output.
Test the program with your actual full name and email address to ensure it displays correctly.
Deliverable
Upload the following:
Full source code (.txt or .cpp file)
Screenshot of the Console with the code executing
COSC-1336 / ITSE-1302 Computer Science - Author: Dr. Kevin Roark