How do you write the Magic Square program using c?

[Edit]

Answer

You have to create 9 empty labels on the gui, then randomize 9#'s. assign each random number to the labels in the 3x3 square. ( you have to keep in your head where each random number will be). Then create a loop that does not end until each row, (labels 1-3), each column (labels 1,4,7), and diagnal ( 1,5,9) are different unique numbers and they add to 15(or the magic number).

Improve Answer Discuss the question "How do you write the Magic Square program using c?" Watch Question

First answer by ID1173573936. Last edit by ID1173573936. Question popularity: 26 [recommend question]

Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Software and Applications > How do you write the Magic Square program using c?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
C program on magic square?  Magic square whose constant 34?  Write a program of magic number?  What is the magic square program in c?  What is the c programme for magic square?  Write a c program to generate Magic squares?  Magic square whose constant 34 using c program?  How do you write a magic square program with C?  How do you make program for magic square using as400?  How to write magic square program using Visual Basic?  How do you write the Magic Square program using AS400?  How do you write the Magic Square program using Visual Basic?  How do you the write magic square program using Visual Basic?