home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / educatin / pwersqr1.zip / POWERSQR.DOC < prev    next >
Text File  |  1991-06-05  |  1KB  |  39 lines

  1.                           Power Square
  2.                         By: John A. Marsh
  3.                           May 31, 1991
  4.  
  5.      Many of you may have seen "magic squares" where all the
  6. sides add up to the same number.  The same idea is presented here
  7. except that this program generates squares whose horizontal,
  8. vertical, and diagonal lines all multiply to the same product!
  9.  
  10.      This is my first attempt at a C++ program, so I did not
  11. spend much time on formatting the final square.  If the numbers
  12. become larger than the format allotted for them they squish
  13. together.  Many combinations will give a very readable square.
  14.      The instructions are self explanatory, so have at it!
  15.  
  16.      The program is free to have, use, copy, and give.  Program
  17. distributing services are not allowed to charge more than $5 for
  18. copying this program.  If this program is distributed it must
  19. contain ALL the following files in UNMODIFIED form:
  20.  
  21.      POWERSQR.EXE
  22.      POWERSQR.DOC
  23.      PWERSQR1.DSC
  24.      NOREADME.DOC
  25.      TSTIMONY.DOC
  26.  
  27.      The source code is available for $5 at the address given at
  28. the end of this document.  I retain the rights to this program
  29. and its source code.  Modified versions may not be distributed
  30. without my written consent.
  31.      If you have any questions, comments, ideas, etc., just drop
  32. me a line.  I would like to know where this program is getting
  33. around to.
  34.  
  35. BASHER@corral.uwyo.edu
  36.  
  37. Address:
  38. 623 Lewis #B
  39. Laramie, WY 82070