Heya, shivaoct. Welcome to TSDN!
Changed thread title to better describe the problem and moved to the Software Development forum.
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. You have not asked a question. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.
Please read the
Posting Guidelines and particularly the
Coursework Posting Guidlines.
Then when you are ready post a new question in this thread.
MODERATOR