on your first program i am seeing this
CODE
int num[]
you have to declare an array with a constant, so int num[10] would probably suffice for this.
also, you're for loop should look something like this
CODE
for (i = 0;i < 9;i++)
{
///Stuff that is cool here
}
On the second program the same follows, all arrays must be declared with a constant
CODE
wt[];wt2[];wt3[];total[];
two things concerning the while loop for the second program
CODE
while (i != \n)
for comparisons to characters, you will need to take the literal of \n you can do this by placing it in single quotes
CODE
while (i != '\n')
but be aware that i is an integer, not a character, and the literal of \n will return some numbers you probably didn't intend to use.
as for the third program, the input doesn't look like the way you described it. the user will have to input like this
2
3 ^----Return
And as always arrays must be declared with constants

CODE
int qur[i];nic[i];total[i];
This post has been edited by Dark_Nexus: 24 Aug, 2005 - 12:34 PM