Hi,

Try to work out the program, it is simple only. If you struck anywhere or any assistance post here we will help you.