#include<iostream>
using namespace std;
class Mycar{
public:
string a1;
string a2;
string a3;
};
class Updist{
public:
string a4;
};
class NorthCentR{
public:
string a5;
};
class SouthR{
public:
string a6;
};
class IndPassp{
public:
string a7;
};
class IndFest{
public:
string a8;
};
int main(){
//object of car
Mycar c1;
c1.a1 = "Hello My name is Anup Tirkey.";
c1.a2 = "Mechanical Engineer, NIT.";
c1.a3 = "Pradesh.";
cout<<c1.a1<<"\n";
cout<<c1.a2<<"\n";
cout<<c1.a3<<"\n";
//second object
Updist u1;
u1.a4 = "Uttarpradesh 74 district.";
cout<<u1.a4<<"\n";
//third object
NorthCentR NC;
NC.a5 = "North Central Railway 3 divisions.";
cout<<NC.a5<<"\n";
// fourth object
SouthR S;
S.a6 = "Southern Railway 5 divisons";
cout<<S.a6<<"\n";
//fifth object
IndPassp p1;
p1.a7 = "Kindly update the Passport Applicaition.";
cout<<p1.a7<<"\n";
//Sixth Object
IndFest f1;
f1.a8 = "Anup Tirkey donot celebrate Ind Festival.Anup Tirkey celebrate Fesivals such as Christmas.";
cout<<f1.a8<<"\n";
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: