Why Can't Compiler Resolve Variables ?

Dear JetBrains Developer Community,

I'm struggling with a sample tutorial from my Ivor Horton textbook (Beginning C: Fifth Edition). The compiler can't resolve these variables.

Why is this happening ?

Screen Shot 2016-01-09 at 9.42.51 PM.png
1 comment

If the FOR statement is for the block included by {} then after the FOR statement you do not need a semicolon there,
and also line 23 ,in the FOR statement,the format is as below:
for(  ;  ;  )
2 semicolons in it,never miss one.
In a word,the syntax is wrong,and google how to use it for detail..


Please sign in to leave a comment.