WORKING OF GOKU'S TRANSFORMATION HUB PROGRAM.

in programming •  7 years ago 

Hey steeemit and steemians.

I am going to show you guys the working of program "goku's transformation hub" my very own stupid old program.

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 AND PROOF:

For showing already existing forms.

for creating new and unique forms.

this section of program is for promoting the creativity like you can see in above example...Steemit-Goku..lols

THANKS:

I HOPE YOU LIKED THIS LITTLE PROGRAM , THANKS.


Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

fantastic coding in c++ i m also learning c++

great post!! its amazing program.

  ·  7 years ago (edited)

I dont understand a thing . I was hoping after the series of codes. An animated form of goku will be transformed from its implementation

hahah brother @dante31 I am sorry I disappointed you but its not a graphical program but a program ..in object oreinted language c++ ..I will try to make that ..thanks for comment.

@learnandgrow, you just received a gifted upvote worth 5.76 from @sauper-saiyanbot - which was voted through globetrottergcc and powered by smartsteem. Our goal is to support quality posts and authors on steem.

We offer vote-buying, vote-selling and a delegation market. Join the community: https://smartsteem.com

This post has received a 3.15 % upvote from @boomerang thanks to: @learnandgrow

@boomerang distributes 100% of the SBD and up to 80% of the Curation Rewards to STEEM POWER Delegators. If you want to bid for votes or want to delegate SP please read the @boomerang whitepaper.

The @OriginalWorks bot has determined this post by @learnandgrow to be original material and upvoted(1.5%) it!

ezgif.com-resize.gif

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!

You got a 1.20% upvote from @upme requested by: @learnandgrow.
Send at least 1.5 SBD to @upme with a post link in the memo field to receive upvote next round.
To support our activity, please vote for my master @suggeelson, as a STEEM Witness