Skip to content

Instantly share code, notes, and snippets.

@mbcarruthers
Created June 3, 2017 01:47
Show Gist options
  • Save mbcarruthers/a760a071230f599ff4a8d10caa955d11 to your computer and use it in GitHub Desktop.
Save mbcarruthers/a760a071230f599ff4a8d10caa955d11 to your computer and use it in GitHub Desktop.
#include <iostream>
#include <string>
using namespace std;
int main () {
string name;
int age;
cout<<"what is your name "<<endl;
cin>>name;
cout<<"cool beans"<<name<<"now what is your age?"<<endl;
cin>>age;
cout<<"damn nigga, "<<name<<"i would have never guessed that you were"<<age<< " years old"<<endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment