I cannot get int variable to work for some reason

I do not understand why I cannot get int variable to register

It needs to be placed “inside” the class, which means after the curly brackets on line 9.

So create an extra line or two before your comment on line 10, and put it there.

jesus haha thanks man that worked

Privacy & Terms