Here is the first program that I have wrote . #include<iostream> int main() { int age; std::cout<<“What is your age”; std::cin>>age; std::cout << “Your age is “<< age; return 0; } <iostream> is the input output library ,without which we can not do input and output operation in the c++; #include is a processor directive…