please help with my project since i do not want to fail

first i read the forum,

Then modify that first post and post the code correctly if you want to prove it.

why does it say that i did not declare it?

Because that is not a variable declaration is it?

You have other variables you have declared successfully haven't you?