home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource2 / sclib_2 / 2_6 / v6n6088b.txt / NLETTER / 6.6 / CURVES2.PRG
Encoding:
Text File  |  1995-11-01  |  114 b   |  12 lines

  1. Program 2
  2.  
  3.      y = y1;
  4.      for (xi=x1; xi<=x2; xi++)
  5.     {
  6.         yi = round(y);
  7.          plot(xi,yi);
  8.          y += m;
  9.      }
  10.  
  11.  
  12.