Answer:
#include<iostream>
#include<string>
using namespace std;
int main() {
const string name = "Arthur";
const int age = 68;
cout<<"Hey my name is "<<name<<" and my age is "<<age;
return 0;
}
Step-by-step explanation:
Above is the c++ program for printing one line greeting that includes your name and your age.
String library is used to save name in constant string variable "name"
and age is stored in constant integer type age variable then both of them are printed using cout (ostream object) build in iostream library.
Program output has been attached below.