'Ui' was not declared in this scope

Thanks.
"U" is declared in front, and ,' i' is declared in for. How to use them together?