if i declare a variable in a while statement, can that variable only be used by the whiel statement? i tried doing that and then when i try to access the variable later in the program it says that it is not declared. is there any way to use a variable in a while statement and then still be able to access it outside of it?