Advertisement
Guest User

AdisoneQQ

a guest
Feb 20th, 2020
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.31 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <time.h>
  4. #include <windows.h>
  5.  
  6. using namespace std;
  7.  
  8. class Janowiec
  9. {
  10.     int wiek;
  11.     int iq;
  12.  
  13. public:
  14.  
  15.     int rage;
  16.     int random;
  17.  
  18.     void wyzywanie()
  19.     {
  20.         srand(time(NULL));
  21.         random = rand()%5+1;
  22.  
  23.         switch(random)
  24.         {
  25.         case 1:
  26.         {
  27.             cout << "Nie gram w FORTNITE!!" << endl;
  28.             rage += 2;
  29.  
  30.         }
  31.         break;
  32.         case 2:
  33.         {
  34.             cout << "Nie nagrywam TIKTOKA!!" << endl;
  35.             rage += 5;
  36.         }
  37.         break;
  38.         case 3:
  39.         {
  40.             cout << "Nie nagrywajcie mnie jak spiewam!!" << endl;
  41.             rage += 3;
  42.         }
  43.         break;
  44.         case 4:
  45.         {
  46.             cout << "Gdzie ty kurwa tym autem jezdzisz!!" << endl;
  47.             rage += 2;
  48.         }
  49.         break;
  50.         case 5:
  51.         {
  52.             cout << "Usun ten film!!" << endl;
  53.             rage += 8;
  54.         }
  55.         break;
  56.         default:
  57.         {
  58.             rage++;
  59.         }
  60.         break;
  61.         }
  62.     }
  63. };
  64.  
  65. int main()
  66. {
  67.     Janowiec adisoneq;
  68.     adisoneq.rage = 0;
  69.     while(adisoneq.rage<25)
  70.     {
  71.         adisoneq.wyzywanie();
  72.         Sleep(1000);
  73.     }
  74.     cout << "\nMasz wpierdol jutro za to!!\n";
  75.  
  76.  
  77.     return 0;
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement