MeehoweCK

Untitled

Jan 25th, 2021
758
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     // sposób II:
  8.     int tablica[15];
  9.  
  10.     for(int i = 0; i < 15; ++i)
  11.         tablica[i] = (i + 1) * 5;
  12.  
  13.     for(int i = 0; i < 15; ++i)
  14.         cout << tablica[i] << '\t';
  15.     cout << endl;
  16.  
  17.     return 0;
  18. }
RAW Paste Data