Write a c program for library management system