Hi there,

I need to change a code from fortran77 into C. I do not want to use the GOTO statement although apparently accepted in C as well; is anyone able to change a statement of the type as below into one where the goto is not present?

It would help a lot,
thank you
S.M.

Ex.:
Code:
if ( A[i] = I[i])
   goto 10 /*where 10 in this case is a line that comes BEFORE this control