CIS22A - Fall 2019 - Lab Exercise 2

due Wednesday, 10/2 8:30 am

Lab exercises are not accepted late.

Put your name, Lab Exercise 2, and compiler and the operating system used in a comment at the top of your program. Email only your source code. Your source code should be sent as an attachment (with the name ex2.cpp).  Use "Ex2" as the subject of your email submission

Program Requirements

Write a program in which you declare two variables, name and age.  The name variable should be of type string.  Make sure you include the header file for type string.  Assign values to the two variables and display them in output that looks similar to this.  Note, in this sample output, Joe and 29 are the values assigned to the variables.

My name is Joe and my age is 29.