Published: 12 Jan 2018 › Updated: 12 Jan 2018
Program of day.
Program Body
#include <iostream>
#include <string>
using namespace std;
class goku{
private:
string a,an;
string b,d;
public:
void input(){
string in;
cout<<" GOKU's transformation hub"<<endl;
cout<<endl;
cout<<"Loop will run two times."<<endl;
cout<<"do you wanna see goku's transformation and details so enter 'show'"<<endl;
cout<<"or you wanna create your own transformation so enter 'create'"<<endl;
cin>>in;
an=in;
cout<<"put 'as' in create section"<<endl;
string ssj;
cin>>ssj;
b=ssj;
}
void transformm(){
for(int i=0;i<=1;i++){
if(an=="show"){
if(b=="ssj1"){
a="100K";
d="super power";
cout<<"goku's form now is "<<b<<endl<<"goku's power level now is "<<a<<endl;
cout<<"goku's special ability now is "<<d;
}
if(b=="ssj2"){
a="10M";
d="instant kamehameha";
cout<<"goku's form now is "<<b<<endl<<"goku's power level now is "<<a<<endl;
cout<<"goku's special ability now is "<<d;
}
if(b=="ssj3"){
a="2.5B";
d="dragon's wrath";
cout<<"goku's form now is "<<b<<endl<<"goku's power level now is "<<a<<endl;
cout<<"goku's special ability now is "<<d;
}
if(b=="ssj4"){
a="100B";
d="(Ozaro+super saiyan) dragon's ultimate wrath";
cout<<"goku's form now is "<<b<<endl<<"goku's power level now is "<<a<<endl;
cout<<"goku's special ability now is "<<d;
}
if(b=="ssg"){
a="100T-200T";
d="universe destruction + god KI";
cout<<"goku's form now is "<<b<<endl<<"goku's power level now is "<<a<<endl;
cout<<"goku's special ability now is "<<d;
}
if(b=="ssgss"){
a="uncontable lols";
d="god KI ultimate control and super strength";
cout<<"goku's form now is "<<b<<endl<<"goku's power level now is "<<a<<endl;
cout<<"goku's special ability now is "<<d;
}
if(b=="SsbKioken"){
a="uncountable x2";
d="super time skip";
cout<<"goku's form now is "<<b<<endl<<"goku's power level now is "<<a<<endl;
cout<<"goku's special ability now is "<<d;
}
if(b=="UI"){
a="uspecified/unkown";
d="Infinite speed and master of movement";
cout<<"goku's form now is Ultra Instinct"<<endl<<"goku's power level now is "<<a<<endl;
cout<<"goku's special ability now is "<<d;
}
}else if(an=="create"){
string m,l,n;
cout<<"enter name of transformation (without space,use '-' for spacing)"<<endl;
cin>>n;
cout<<"what could be the power level of goku at time in "<<n<<endl;
cin>>m;
cout<<"what special ability goku has in "<<n<<endl;
cin>>l;
a=m;
d=l;
cout<<"goku's form now is "<<n<<endl<<"goku's power level now is "<<a<<endl;
cout<<"goku's special ability now is "<<d;
}
}
}
};
int main(){
goku t;
t.input();
t.transformm();
}
Working
this program has two parts
- part 1 it allows you to see the power level and other features of that particular form
- second part allows you to create your vary own forms of goku and name it as well.
Made in code blocks
Leave Program of day. to:
Read more #programming posts
Best Posts From Emperor Sabi
We have not curated any of learnandgrow's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Emperor Sabi
- Thursday freewrite__ Prompt: cityscape
- ZapFic Monday - Prompt: engagement in 240 character or less
- Poser Pro 11 - Discover the Art of the Human Form with Poser
- YELLOW PAGES SPIDER - GET THOUSANDS OF LEADS ON DEMAND
- MindGenius Business - Creating complex business idea maps, strategies,plans & more
- Quickbooks Pro - software for managing businesses effectively and efficiently
- Autodesk Revit MEP - Best for designing 2D structural and 3D model of a building
- eDrawings Professional - The Easiest Way to Share 3D Data Across CAD Environments
- GiftedMotion - GiftedMotion is a free and easy & open source GIF animator
- Blumentals WeBuilder - fast, intelligent & all in one code editor for web developer