Array practical

i cannot be resolved to a variable error showing in for loop block statement. please help I am stuck in array topic.

Hello , welcome to the LearnVern forum.

Please share your code here for us to help you out.

It’s already resolved. Thank you for your response.