摘要
九宫图,又名幻方。不但是数学爱好者追随的焦点,也是对广大计算机编程爱好者的有力挑战。本文通过简单明了的语言,介绍了画n阶(n为奇数)幻方的方法。同时,给出了VB语言解决该问题的源程序。
JiuGongTu', which is also called 'Magic Square', is not only the pursuing focus of math lovers, but also the challenge of most computer programmers. This paper briefly explains the method of drawing n-rank 'Magic Square' (n is an odd number), and meanwhile introduces the source code of VB language to solve this problem.
出处
《金华职业技术学院学报》
2004年第4期35-38,共4页
Journal of Jinhua Polytechnic
关键词
九宫图
九宫格
幻方
VB
JiuGongTu
source code
magic square
VB