Main
Home
About
DiscussionBoard
Files
About
Submit
Search
Downloads
Action
FreeBASIC
Future Software
Graphics Demos
Graphics Utilities
Libraries
Miscellaneous
Platform Games
QB64
Sound Related
Space Games
Strategy and RPG
Links
Link to us
Magic Square Generator.zip
- Chuck Mire
0
/
10
Magic Square Generator.exe is a Windows executable that will generate Odd-Order Magic Squares from Order 3 through Order 63. The numbering starts at the number one and increments by one through the square of the Order with no number duplication. For instance, for an order 63, the numbering goes from 1 through 63 squared (3969). The sum of any row or column or diagonal will add up to the Magic Sum which is computed by the following formula: Magic Sum = Order * (Order ^ 2 + 1) / 2. For example, the Magic Sum for the Odd-Order 63 Magic Square = 63 * (63 * 63 + 1) / 2 = 125, 055. Two different magic squares can be generated for each order by using the Staircase or Pyramid method. Either one will generate the same Magic Sum for that order. The results can either be shown on screen only or saved to a formatted text file: Magic.txt (This file is saved in the same location as the program and is overwritten for each run of the program). The zip file contains the source code, the Windows executable, a PDF with screenshots, and four (4) example PDF files.
Source included - QB64 - 923.53 KB - 1267 downloads
Comments & Ratings by other people:
Your rating:
Rating:
10- Best
9
8
7
6
5
4
3
2
1- Worst
Name:
Comment:
Please enter this number:
Members
Login
Register
QB45 Members
Member List