You surely know that a program without syntax errors may have compiler errors or runtime logic errors. Next time, describe what "doesn't work" means, and post your errors, copied exactly from what...