Advertisement
Md_hosen_zisad

array traVERSING

Feb 25th, 2018
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.14 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. { int i,x[100],p;
  5. cin>>p;
  6. for(i=0;i<p;i++)
  7. {
  8.  cin>>x[i];
  9.  
  10.  cout<<x[i]<<" ";
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement