SHARE
TWEET

The Feedtest, Beta0.1

medal893 Dec 22nd, 2016 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <ctime>
  4. using namespace std;
  5.  
  6. void Picture1(){
  7.     cout<<"A    A"<<endl;
  8.     cout<<"||||||"<<endl;
  9. }
  10. void changepage(){
  11.     cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl;
  12.     cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl;
  13.     cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl;
  14. }
  15. void mainpicture(){
  16.     cout<<"-------------------------------"<<endl;
  17.     cout<<"==============================="<<endl;
  18.     cout<<"-------------------------------"<<endl;
  19.     cout<<"==============================="<<endl;
  20.     cout<<"-------------------------------"<<endl;
  21.     cout<<"==============================="<<endl;
  22.     cout<<"-------------------------------"<<endl;
  23.     cout<<"==============================="<<endl;
  24.     cout<<"-------------------------------"<<endl;
  25.     cout<<"==============================="<<endl;
  26.     cout<<"-------------------------------"<<endl;
  27.     cout<<"==============================="<<endl;
  28.     cout<<"-------------------------------"<<endl;
  29.     cout<<"==============================="<<endl;
  30.     cout<<"-------------------------------"<<endl;
  31.     cout<<"==============================="<<endl;
  32.     cout<<"-------------------------------"<<endl;
  33.     cout<<"==============================="<<endl;
  34.     cout<<"-------------------------------"<<endl;
  35.     cout<<"==============================="<<endl;
  36.     cout<<"-------------------------------"<<endl;
  37.     cout<<"==============================="<<endl;
  38. }
  39. //  sleep(2000);
  40. void Generation(){
  41.    
  42.    
  43.     char Respon;
  44.     int i;
  45.     int GenerationLV[10];
  46.     int Money;
  47.     Money=10000000000;
  48. //  Money=100;
  49.     cout<<"Reset the Generation's value?";
  50.     cin>>Respon;
  51.     if(Respon='y'){
  52.         for(i=0;i<=9;i++){
  53.             GenerationLV[i]=0;
  54.         }
  55.         cout<<endl;
  56.     }
  57.     int GenerationAup[100];
  58.     GenerationAup[0]=0;
  59.     GenerationAup[1]=10;
  60.     GenerationAup[2]=20;
  61.     GenerationAup[3]=40;
  62.     for(i=3;i<=99;i++){
  63.         GenerationAup[i+1]=GenerationAup[i]+GenerationAup[i];
  64.     }
  65.     cout<<"GenerationA Lv"<<GenerationLV[0]<<"     "<<endl;
  66.     cout<<"GenerationB Lv"<<GenerationLV[1]<<"     "<<endl;
  67.     cout<<"GenerationC Lv"<<GenerationLV[2]<<"     "<<endl;
  68.     cout<<"GenerationD Lv"<<GenerationLV[3]<<"     "<<endl;
  69.     cout<<"GenerationE Lv"<<GenerationLV[4]<<"     "<<endl;
  70.     cout<<"GenerationF Lv"<<GenerationLV[5]<<"     "<<endl;
  71.     cout<<"GenerationG Lv"<<GenerationLV[6]<<"     "<<endl;
  72.     cout<<"GenerationH Lv"<<GenerationLV[7]<<"     "<<endl;
  73.     cout<<"GenerationI Lv"<<GenerationLV[8]<<"     "<<endl;
  74.     cout<<"GenerationJ Lv"<<GenerationLV[9]<<"     "<<endl;
  75.     system("PAUSE");
  76.     while(i!=-100000){
  77.     cout<<"Which one would you like to upgrade?(Key in N to get out of this page)";
  78.     cin>>Respon;   
  79.         if(Respon='A'){
  80.            
  81.             cout<<"The Amount to upgrade it is"<<GenerationAup[GenerationLV[0]+1]<<endl;
  82.             cout<<"Your Money is "<<Money<<endl;
  83.             cout<<"Are you sure to upgrade it?";
  84.             cin>>Respon;
  85.             if(Respon=='y'){
  86.                 Money=Money-GenerationAup[GenerationLV[0]+1];
  87.                 cout<<"Money is now"<<Money<<endl;
  88.                 GenerationLV[0]=GenerationLV[0]+1;
  89.             }
  90.         }
  91.     }
  92. }
  93.  
  94. int main(){
  95.  
  96.     changepage();
  97.     mainpicture();
  98.     changepage();
  99.     Generation();
  100.    
  101. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top