program Body
#include < iostream >
#include < string >
using namespace std;
class hagroma{
public:
hagroma(){
cout<<"huga clan have byukagan keki genkai (the hromo's half)"<<endl;
}
void a(){
cout<<"huga clan have byukagan keki genkai."<<endl;
}
};
class uzumaki:virtual public hagroma{
public:
uzumaki(){
cout<<"uzumaki are hagaroma inherited specifically they are ashura's decendent"<<endl;
}
void b(){
cout<<"uzumaki are hagaroma inherited long and strong life line is keki genkai"<<endl;
}
};
class senju :virtual public hagroma{
public:
senju (){
cout<<"senju are also hagaroma they too are ashura's decendents."<<endl;
}
void d(){
cout<<"senju are also hagaroma inherited extensive streangth is kakki genkai."<<endl;
}
};
class boruto: public senju,public uzumaki{
public:
boruto (){
cout<<"in actual boruto's father naruto is from namikaza clan so he have huga and namikaza blood"<<endl;
}
void c(){
cout<<"boruto is a decendent of both uzumaki and hyuga clan he have unique kekki genkai."<<endl;
}
};
int main (){
boruto ka;
ka.a();
ka.b();
ka.d();
ka.c();
}
Written in C++
Made in Visual C++ IDE
I hope it was helpful and you learned something from it, Thanks
great post
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thanks
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
keep it up
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thank you
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
no need of thanks
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
nice post
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
its going to be awesome
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit