Færdiggjort

Another Simple c++ program

A magic square is an N-by-N array of integers such that the sum of the values of each row,column,and main diagonals are all equal. For example: 16 9 2 7 6 3 12 13 11 14 5 4 1 8 15 10 I want you to write a program to read the size of a magic square, then read in each row's values and then determine whether the square is a magic square. You may assume that the size of the square is 10 or less. The program should continue to execute until a 0 is enterred for the square size. Sample execution: Enter Size ( Zero to stop) -> 4 Enter the Rows of the Square below: 16 9 2 7 6 3 12 13 11 14 5 4 1 8 15 10 * Magic Square * Enter Size ( Zero to stop) -> 3 Enter the Rows of the Square below: 2 2 2 1 4 1 0 0 0 * Not a Magic Square * Enter Size ( Zero to stop) -> 0 You need to write this in C++ and add comments explaining what is what. Call this program magic.cpp. I need this program AS SOON AS POSSIBLE!!!!!!!!

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

## Platform

Visual C++ Windows XP

Evner: C programmering, Ingeniørarbejde, Microsoft, MySQL, PHP, Software Arkitektur, Software Testning, Windows Skrivebord

Se mere: what is visual programming, what is in c programming, what is functional programming, what is c# programming, what is c programming, what is an array in programming, visual c++ programming, integers form 1, c read example, c programming example, c programming continue, c programming array, cpp programming, cpp program example, cpp array, array in c programming, array in cpp, array c programming, c program source code, simple c

Om arbejdsgiveren:
( 17 bedømmelser ) United States

Projekt ID: #3192921

Tildelt til:

cebisev

See private message.

$3 USD in 14 dage
(61 bedømmelser)
6.1

3 freelancere byder i gennemsnit $11 på dette job

belgradeteam

See private message.

$17 USD in 14 dage
(38 bedømmelser)
5.0
visualcodervw

See private message.

$12.75 USD in 14 dage
(19 bedømmelser)
2.7