A few things first:
1) you still haven't asked a question,
2) you haven't told us what your program is supposed to do,
3) waiting until the last day to ask for help is a terrible idea,
4) please use [co
de][/code] tags when sharing code,
Next, there are a few issues I can see with your code:
1)
void display();
void display( int list [])
The argument lists are different
2)
1 2
|
c= (x-z/z)*100;
d= (y-z/z)*100;
|
i) think about the order of operations and what you are doing with x-z/z
ii) x, y, z are all integers, so x-z/z is going to result in integer division (considering that you store the result in a float, I assume this is not what you intended?)
3)
for ( i=0;i<=100;i++);
does nothing. I assume this has to do with there being an array in display? But, you haven't really explained what you are trying to do so I'll leave it at that