Created
June 3, 2017 01:49
-
-
Save mbcarruthers/fe2d6f885fdb6f7c6be773b96b42b4fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
int main () { | |
class person = new class(); | |
string name; | |
int age; | |
cout<<"what is your name "<<endl; | |
cin>>name; | |
person.name = name; | |
cout<<"cool beans"<<name<<"now what is your age?"<<endl; | |
cin>>age; | |
person.age = 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