gk <topsoil at mail.com> writes: > Been trying to get the following problem to work. So far its been > hectic since i am very new to programming: This sounds like a homework problem. What kind of help are you looking for?