SHARE
TWEET

I/O Array

daniil_mironoff Jun 14th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //     int const SIZE = 8;
  2. //     int arr[SIZE];
  3.    
  4.     for (int i = 0; SIZE > i; i++) {
  5.         cout << "Введите значение для " << i << " индекса: ";
  6.         cin >> arr[i];
  7.     }
  8.    
  9.     // ...
  10.    
  11.     for (int i = 0; SIZE > i; i++) {
  12.         cout << "arr[" << i << "] = " << arr[i] << endl;
  13.     }
  14.    
  15.     // ,,,
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