the compiler will show error if i use double age; as a statement because its already been defined by int and you cannot have 2 variables with the same name.
thanks for the help i was under the impression that i needed to have a int then some how read that int into a double which was giving me a headache but i see now its as simple as
{
cout<<"Please enter your first name and age\n";
string first;
double age;
cin>>first>>age;
cout<<"Hello ,"<<first<<' '<<age<<'\n';
keep_window_open();
}