In: Computer Science
Declare a string variable and initialize it with your first name ( in C++)
program:
#include <iostream>
using namespace std;
int main()
{
string name; //declare string
variable
name = "micheal"; //intialized to first
name
cout<<name; // print name
return 0; //return statement
}
output: