How to compute the weekly salary of an employee using the java program

That's a weird question!
All i can say is need a lot more typing from your side and a little bit more effort to learn JAVA on your own rather than being spoon fed in a forum.