1/* cin stops taking input on whitespace encounter
2* so if you pass "Prakhar Patel" into cin>>name;
3* only "Prakhar" will be stored into name.
4* "Patel" will stay in stream and will come into next cin statement.
5*/
6
7getline(cin,fullname,'\n'); //use this to capture input stream till \n