











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
it about book shop inventory system
Typology: Study Guides, Projects, Research
1 / 19
This page cannot be seen from the preview
Don't miss anything!
II B. Tech (I.T) ADVANCED DATA STRUCTURES
DEPARTMENT OF INFORMATION TECHNOLOGY
D. Sai Sravan 161FA
PROBLEM STATEMENT The Purpose of The book shop inventory System is maintain the inventory of books that are being sold at the book shop. List of the book is already Given in the Structure List .if you want to Add More book Than add in the Structure List .it Contains The Member such as Author, Title, Price, Publisher, Quantity etc.
INTRODUCTION This project BOOKSHOP SYSTEM includes some facilities for the retail book shop to maintain records of the books and also search, display, modification, delete etc the books available. This software searches the books data which is store in the record. The software used for small shops for maintaining their records related to books selling, printing the reports and cost savings.
ANALYSIS AND DESIGN All the Book Shop Keepers can use our project to run their store easily. By using this project they can store all the info. Related with the books available in the store. They can also search a particular book easily by getting the info. From the project. In this we also define the information of all the customers who wants to purchase the books from their store. In this they can also store the info. Of all the orders of all those books which are not available in the store. Because of this computerization, any book store owner can run their store easily in User friendly Environment. The Main objectives of this project are:
}date; char publisher[10]; int quantity; }; //to search the book in the list int search(struct list table[],char c1[],char c2[],int n); //to get the input string void get(char string[]); main() { int index,no_of_record; char title[30],author[20]; char responce[10],quantity[10]; struct list book[]= { { "Ritche","C Language",245.00,"May",1977,"PHI", }, {
"A S Hornby","Oxford Advanced Dictionary",550.00,"Jan",2001,"OUP", }, { "Ivor Horton", "Beginning Java", 527.50,"Nov",2012,"WILEY", }, { "Dr. B.V. Raju","Finite Automata",225.00,"Oct",2010,"TMH", }, { "Kochan","Programming in C",275.50,"july",1983,"hayden", }, { "Rajiv Mall", "Software Engineering",310.00,"Jun",2011,"TMH", }, { "Balagurusamy","Basic",268.00,"Jan",1984,"TMH", }, { "Andrew S. Tanenbaum", "Computer Networks",420.00,"Aug",2009,"TMH",
if(index !=-1) { printf("\n\n YOUR DESIRE BOOK AVAILBLE IN THE STOCK.\n\n"); printf("[AUTHOR] [TITLE] [PRICE] [MONTH] [YEAR] [PUBLISHER]\n"); printf("-------------------------------------------------------------"); printf("\n%s %s %.2f %s %d %s \n
n",book[index].author,book[index].title,book[index].price,book[index].dat e.month,book[index].date.year,book[index].publisher); printf("\n\n ENTER THE NUMBER OF COPIES:"); get(quantity); if(atoi(quantity)<=book[index].quantity) printf("\n\nCOST OF THE %d COPIES IS=%.2f\n ",atoi(quantity),book[index].price*atoi(quantity)); else printf("\n REQUIRED COPIES NOT IN THE STOCK \n\n"); } Else printf("\n YOUR DESIRED BOOK IS NOT IN THE STOCK.\n\n"); printf("\n DO YOU WANT TO PURCHASE ANY OTHER BOOK? (Y/N):"); get(responce);
while(responce[0]=='y'||responce[0]=='y'); printf("\n\n THANK YOU....!!!!\n"); printf("Designed By: Deepak Gupta\n"); printf("www.i-world-tech.blogspot.in\n\n\n"); } void get(char string[]) { char c; int i=0; do { c=getchar(); string[i++]=c; } while(c !='\n'); string[i-1]='\0'; } int search(struct list table[],char c1[],char c2[],int n) { int i;
For the given book title it should show the details of book? Ans:- Input:- Title:-C Language Author:-Ritche Output:- Title |Author |cost |year C Language| Ritche |230 | Result I obtained my output of the source code is shown below:-
CONCLUSION
http://i-world-tech.blogspot.in/2013/01/mini-project-in-c-book- shop-inventory.html