home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 13 / CDA13.ISO / cdactual / demobin / share / program / C / ANSICPP.ZIP / EX10003.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1990-07-24  |  211 b   |  11 lines

  1. // ex10003.cpp
  2. // Displaying columns of numbers
  3. #include <iostream.h>
  4.  
  5. main()
  6. {
  7.     static double values[] = { 1.23, 35.36, 653.7, 4358.224 };
  8.     for (int i = 0; i < 4; i++)
  9.         cout << values[i] << '\n';
  10. }
  11.