#include<iostream>
#include<stack>
using namespace std;
int main(){
stack<string>s1;
s1.push("Tirkey.");
s1.push("kumar");
s1.push("Anup");
s1.push("NIT");
s1.push("From");
s1.push("Mechanical Engineer");
s1.push("hometown");
s1.push("Ranchi");
s1.push("Married Shashi Priyanka Tirkey");
while(!s1.empty()){
cout<<s1.top()<< " ";
s1.pop();
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: