Welcome to JavaRanch Judy. What do you mean "not working"`? As I see it, the code you have provided will not even compile because i is not declared. Also what is ln? What's its API? Why do you write "In" in the title and use "ln" in the code? Are you mixing up "els" and "eyes"? [ May 04, 2003: Message edited by: Barry Gaunt ]
What's this "In" your program is using? An object of some sort I imagine - what class is it? How was it created? When you say the program is "not working", what does this mean? Does the program compile? Do you get an error message of some sort? (What is it?) Do you get a result that is incorrect?