|
-
January 16th, 2013, 03:57 PM
#24
Re: I need very fast help, like within the hour, please!
I'm repeating myself over and over here.
Code:
for(j=0; j<VEERGE; j++)
{
if (j<1) printf("%4d", maatriks[i][5]);
}
This makes no sense. You're not using j in the loop other than to test if it's less than 1, which is pointless. The range for j needs to be the columns you want to sum. You really need to understand what arrays are, how you access them and how loops work. You can't leave it till the last minute then guess.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|