when i run this code and put in an age it gives me a large negative number back, Im really new to learning c++ so stuck on simple questions sorry, if anyone could help it would be great thanks.
#include<iostream>
#include<string>
usingnamespace std;
int main()
{
cout << "What is your name? " << endl;
string name;
cin >> name;
cout << "what is your age" << endl;
int age;
cin >> age;
printf("Hello there ""%s,", name.c_str());
printf(" I see you are %d years of age");
system("pause");
return 0;
}