Skip to content

Instantly share code, notes, and snippets.

Created Sep 16, 2021
What would you like to do?
#include <iostream>
#include <string>
using namespace std;
int main(){
string name;
string last;
cout<<"Enter Your Full Name: ";
getline(cin, last);
cout<<"Your First Name: "<<name<<endl;
cout<<"Your Last Name: "<<last<<endl;
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment