Sorry I figured it out!
Type: Posts; User: blisman20
Sorry I figured it out!
I am in a beginning C programming class and I have this assignment: Write a program that creates an N*N magic square, i.e., a square arrangement of the numbers 1,2,…,N^2 in which the sum of rows,...
I posted earlier tonight. You can view my original post here: http://cboard.cprogramming.com/c-programming/152476-help-writing-program-creates-odd-n%2An-magic-square-where-n.html#post1135266.
So,...
Okay actually I think I understsand what you're saying. I changed my magic_square [size][size] to magic_square [array_size][array_size], but I still have this error twice: error C2143: syntax error :...
I thought I did define the array with my header: #define array_size 15
I am in a beginning C programming class and I have this assignment: Write a program that creates an N*N magic square, i.e., a square arrangement of the numbers 1,2,…,N^2 in which the sum of rows,...
Thank you, that fixed my error. I will be sure to post more appropriately in the future, but I don't understand what you mean when you say copy the indentation too. If you could please explain that...
The assignment is Write a program that asks the user to enter an integer value for x and then calculate the value for the following polynomial: x^5-5x^4+10x^3-10x^2+5x+1.
This is my program and it...