Facebook
From bahon, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 288
  1. #include <iostream>
  2.  
  3. /* run this program using the console pauser or add your own getch, system("pause") or input loop */
  4. using namespace std;
  5.  
  6. int main(int argc, char** argv) {
  7.        
  8.         string dni[7] = {"poniedzialek","wtorek","sroda","czwartek","piatek","sobota","niedziela"};
  9.         for(int k=1;k<12;k++)
  10.         {
  11.                 cout << "               Miesiac "<<k<<endl;
  12.                 for(int i=1;i<5;i++)
  13.                 {
  14.                         cout << "       Tydzien " << i << endl;
  15.                         for(int j=0;j<7;j++)
  16.                         {
  17.                                 cout << dni[j] << endl;
  18.                         }
  19.                 }
  20.         }
  21.         return 0;
  22. }