Advertisement
adolf01

Untitled

Apr 3rd, 2015
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. void main(){
  7.    
  8.     int pole[] = { 5, 12, 55, 74, 86, 25, 55, -4 };
  9.     int n = sizeof(pole) / 4;
  10.     int x = 0;
  11.     while (x != n-1){
  12.         cout << pole[x];
  13.         cout << "\n";
  14.         x += 1;
  15.  
  16.     }
  17.  
  18.  
  19.     system("pause");
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement