Find Jobs
Hire Freelancers

Another Simple c++ program

$30-5000 USD

Completed
Posted about 20 years ago

$30-5000 USD

Paid on delivery
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
Project ID: 3192921

About the project

3 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$3 USD in 14 days
5.0 (61 reviews)
6.1
6.1
3 freelancers are bidding on average $11 USD for this job
User Avatar
See private message.
$17 USD in 14 days
4.3 (38 reviews)
5.0
5.0
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (19 reviews)
2.7
2.7

About the client

Flag of UNITED STATES
United States
5.0
17
Member since Sep 23, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.