PIC Microproject
PIC Microproject
Semester: Second
145824
2. 43 Arjun Indar Saruk 24110260153
In
3 Years of Diploma Programme in Engineering & Technology of Maharashtra State
Board of Technical Education,
ISO 9001:2008 (ISO/IEC-27001:2013)
. GOVERNMENT POLYTECHNIC VIKRAMGAD
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
CERTIFICATE
This is to certify that Mr.Jayesh Sanjay Barahate Roll No. 1128 of Second Semester
of Computer Engeneering Diploma Programme in Engineering & Technology at
Government polytechnic vikramgad , has completed the Micro Project
Satisfactorily in Subject – Programming in ‘C’ (312303). In the academic year
2020-2021 as prescribed curriculum of K Scheme.
Seal of
Institute
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
CERTIFICATE
This is to certify that Mrs Arjun Indar Saruk Roll No. 1143of Second
Semester of Computer Engineering Diploma Programme in Engineering &
Technology at Government Polytechnic vikramgad has completed the Micro
Project Satisfactorily in Subject – Programming in ‘C’ (312303). In the
academic year 2020-2021 as prescribed curriculum of k Scheme.
Seal of
Institut
e
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
CERTIFICATE
This is to certify that Mrs Mayur Vilas Bhangrath roll No. 1151of Second Semester
of Computer Engineering Diploma Programme in Engineering & Technology at
Government polytechnic vikramgad has completed the Micro Project
Satisfactorily in Subject – Programming in ‘C’ (312303). In the academic year
2020-2021 as prescribed curriculum of K Scheme.
Seal of
Institut
e
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
Our system saves you time and gives you the audit
trail you need to demonstrate your due diligence in
proactively managing your organization.