I'm new using C++, my instructor wants me to print this sentence:
A 6'2" person is 74.4 inches tall
The thing is I don't know how to put the quotes, and he doesn't let me use 6 and 2, he wants me to use the variable that I previously declared for 6'2". I don't have idea how to put quotes in a variable. Also that same variable that I previously declared as height_feet, it's been using to compute a calculation, so I can't declare it as string(can I?).
double height_feet = 6.2;
double height inches = height_feet * 12);
cout << "A " << height_feet << " person is " << height_inches<< " inches tall " << endl;