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

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