Hello, I am very new in C programming and here is my question
I need to know how to program the following problem.
read a list
check if a specific element is included in it
execute a function if the element is there
i guess it goes something like this.
for(i = 0; i < number-of-list-elements ; i++) .......2
if( list[i] = specific-element) ........3
execute function; ........4
my problem is in the 3rd line, dont know how to C-scrpit it.
thanx in advance for help