// arrayPrint.cc  P.Conrad 10/10/05
// demonstrating printing an array with iteration

#include <iostream>

using std::cout;
using std::cin ;
using std::endl;


int main(void)

{
  int a[5] = {12, -1, 78, 2, 5 };
  int b[5] = {10, 8, -3, 6, 22 };
  int c[5] = {16, 0, 3, -2, 20 };

  for(int i=0; i<5; i++)
    cout << "a[" << i << "]=" << a[i] << endl;

  for(int i=0; i<5; i++)
    cout << "b[i]=" << b[i] << endl;

  for(int i=0; i<5; i++)
    cout << "c[i]=" << c[i] << endl;



  return (0);

}

