"cannot find symbol" means the compiler can not find a definition for that symbol that is in scope where the code is trying to use it. In scope means within the same {} pair. If you define a...