PIC Microproject
PIC Microproject
3. 288754
07 Vidhi Shivdas Kadhao 2009350143
4. 288
28 Samrudhi Suresh Walimbe 2009350130
In
3 Years of Diploma Programme in Engineering & Technology of Maharashtra State
Board of Technical Education,
ISO 9001:2008 (ISO/IEC-27001:2013)
SHIVAJIRAO S. JONDHLE POLYTECHNIC, ASANGAON.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
CERTIFICATE
This is to certify that Mr.Pratik Vishwanath Bhoir Roll No. 04 of Second Semester
of Information Technology Diploma Programme in Engineering & Technology
at Shivajirao S. Jondhle Polytechnic Asangaon, Shahapur-421601 has completed
the Micro Project Satisfactorily in Subject – Programming in ‘C’ (22226). In the
academic year 2020-2021 as prescribed curriculum of I Scheme.
Seal of
Institute
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
CERTIFICATE
This is to certify that Mrs. Saniya Ganesh Dhanke Roll No. 05 of Second
Semester of Information Technology Diploma Programme in Engineering &
Technology at Shivajirao S. Jondhle Polytechnic Asangaon, Shahapur-421601
has completed the Micro Project Satisfactorily in Subject – Programming in ‘C’
(22226). In the academic year 2020-2021 as prescribed curriculum of I Scheme.
Seal of
Institut
e
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
CERTIFICATE
This is to certify that Mrs. Vidhi Shivdas Kadhao Roll No. 07 of Second Semester
of Information Technology Diploma Programme in Engineering & Technology
at Shivajirao S. Jondhle Polytechnic Asangaon, Shahapur-421601 has completed
the Micro Project Satisfactorily in Subject – Programming in ‘C’ (22226). In the
academic year 2020-2021 as prescribed curriculum of I Scheme.
Seal of
Institut
e
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
CERTIFICATE
This is to certify that Mrs. Samrudhi Suresh Walimbe Roll No. 28 of Second
Semester of Information Technology Diploma Programme in Engineering &
Technology at Shivajirao S. Jondhle Polytechnic Asangaon, Shahapur-421601 has
completed the Micro Project Satisfactorily in Subject – Programming in ‘C’
(22226). In the academic year 2020-2021 as prescribed curriculum of I Scheme.
Seal of
Institute
Index
Sr. No Title Page No
Abstract
1 Introduction
2 Algorithm
3 Flow Chart
4 Source code
5 Out Put
6 Future Scope/Advantages
7 Conclusion
8 References
ABSTRACT
The administrators and all the others can communicate with the
system through this project, thus facilitating effective
implementation and monitoring of various activities of the
distributor of a supermarket .
2. ALGORITHM
Step 1: Start
Step 2: Declare a structure which holds data members
Step 3: declare variables which are used for loop
Step 4: use switch case to work on each module
Step 5: case 1- for Adding book information
Case 2- for Display book information
Case 3- for Finding number for books in library
Case 4- for EXIT
Step 6: Stop
3. FLOW CHART
4. SOURCE CODE
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
Struct library
{
Char bookname[50];
Char author[50];
Int noofpages;
Float price;
};
Int main()
{
Struct library lib[100];
Char bookname[30];
Int I,j, keepcount;
I=j=keepcount = 0;
While(j!=6){
Printf(“\n1. Add book information\n”);
Printf(“2.Display book information\n”);
Printf(“3. No of books in the library\n”);
Printf(“4. Exit”);
Printf (“\n\nEnter one of the above : “);
Scanf(“%d”,&j);
Switch (j){
/* Add book */
Case 1:
Printf (“Enter book name = “);
Scanf (“%s”,lib[i].bookname);
Printf (“Enter author name = “);
Scanf (“%s”,lib[i].author);
Printf (“Enter pages = “);
Scanf (“%d”,&lib[i].noofpages);
Printf (“Enter price = “);
Scanf (“%f”,&lib[i].price);
Keepcount++;
I++;
Break;
Case 2:
Printf(“you have entered the following
information\n”);
For(i=0; i<keepcount; i++){
Printf (“book name =
%s\n”,lib[i].bookname);
Printf (“\t author name =
%s\n”,lib[i].author);
Printf (“\t pages =
%d\n”,lib[i].noofpages);
Printf (“\t price = %f\n”,lib[i].price);
}
Break;
Case 3:
Printf(“\n No of books in library : %d”,
keepcount);
Break;
Case 4:
Exit (0);
}
}
Return 0;
}
5. RESULT/OUTPUT
6. FUTURE SCOPE
7. CONCLUSION