/*
    string.cpp how to define, read and print strings.
    
*/

#include <iostream>           // Include cin / cout streams for input/output
#include <string>             // include string type
using namespace std;

int main()
{         
   string name;                           // string is a sequence of characters (ASCII)

   cout << "Please write your name:";
   cin  >> name;                          // read string from keyboard, save it in variable name 
   cout << "Hello " << name << "\n";      // print out string

   return 0;
}
