Store Management Ystem

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

This is to certify that the micro project

“Employee Slip”

is done by

Vishal Jagdale,

Santosh Gonkar,

Ashish Bhoir

is submitted for

object oriented programming using c++ (oop)

for

the diploma

in

Computer Engineering to the

Maharashtra State Board of Technical Education, Mumbai

(Autonomous) (ISO-9001-2008) (ISO/IEC 27001:2013)

Subject Incharge H.O.D Principal

(Mrs. Smita Kuldiwar) (Mrs. Manisha Patil ) (Prof.D.R.Suroshe)


Micro project Proposal

Store Management System

1. INTRODUCTION
We have learned to implement a C++ program to manage employees slip by using
different features of OOP (function, structure, For loop, If-else, Switch case, While Loop)

2. AIM OF MICRO PROJECT


 While performing the project we have learned many useful and creative things,
which is very useful for us to develop our mind.
 We have learned to make relevant use of ‘Turbo C’ while performing the project.

3. ACTION PLAN

S. No. Details of activity Planned Start Planned Finish Name of Responsible


date date Team Members

1 Analysis 20-09-2019 25-09-2019 Vishal Jagdale

2 Programming code 26-09-2019 1-10-2019 Santosh Gonkar

3 Implementation 1-10-2019 4-10-2019 Ashish Bhoir

4. RESOURCE REQUIRED

S. No. Name Of Software Required Specification Remark


1 Turbo C++ Intel-i3 , 2gb RAM

Outcomes of micro project

Store Management System


1. BRIEF DSCRIPTION
While performing this micro project we have learned to produce C program using various
functions to get an output of a Store Management System .
2. AIM OF MICRO PROJECT
In this project we have learned to develop a C program for an Store Management System.
3. COURCE OUTCOME INTEGRATED
 Develop c++ program to solve problems using procedure oriented approach
 Develop c++ program using classes and objects
4. ACTUAL PROCEDURE FOLLOWED

S. No. Details of activity Planned Start Planned Finish Name of Responsible


date date Team Members

1 Analysis 20-09-2019 25-09-2019 Vishal Jagdale

2 Programming code 26-09-2019 1-10-2019 Santosh Gonkar

3 Implementation 1-10-2019 4-10-2019 Ashish Bhoir

5. ACTUAL RESOURCES USED

S. No. Name Of Software Required Specification Remark


1 Turbo C Intel i3 , 2gb RAM

6. SKILL DEVELOPED
Learned to implement a C program using various graphics objects.

7. OUTPUT OF MICRO PROJECT

Program Code:
#include<iostream.h>

#include<conio.h>

const int m=20;

class dept
{

int amount[m],pris[m],k,a,b,amount1;

int code,code1,cod[m],s,last;

public:

float price,price1;

dept(void);

void sell(void);

void total_items(void);

void add_old(void);

void add_new(void);

void show(void);

};

dept:: dept(void)

{ s=0;a=10;b=40;last=5;amount[0]=0;

for(int k=0;k<last;k++)

{ s=s+1;b=b+10;

cod[k]=s;

amount[k]=a;

pris[k]=b;

}
void dept::add_old(void)

{ cout<<"\nEnter item code:";

cin>>code1;

cout<<"\nEnter item price:";

cin>>price1;

for(k=0;k<last;k++)

{ if(code1==cod[k])

{ a=a+1;

amount[k]=a;

pris[k]=price1;

// else

//cout<<"\nSorry..This item is not available.\n";

void dept::add_new(void)

{ cout<<"\nEnter item code:";

cin>>code1;

cout<<"\nEnter amount of that item:";

cin>>amount1;

cout<<"\nEnter item price:";


cin>>price1;

cod[last]=code1;

amount[last]=amount1;

pris[last]=price1;

last++;

void dept::show(void)

{ for(k=0;k<last;k++)

cout<<"\nCODE:"<<cod[k]<<"\t";

cout<<"\nAMOUNT:"<<amount[k]<<"\t";

cout<<"\nPRICE:"<<pris[k]<<endl;

void dept::sell(void)

cout<<"\nEnter product code:\n";

cin>>code;

cout<<"\nEnter product price:\n";

cin>>price;
}

void dept::total_items(void)

cout<<"\n\nITEM CODE:"<<code<<"\n\nITEM PRICE:"<<price;

int main()

dept d[10];

static int j=0;

int x,i=0,p,s=0;

clrscr();

do{

cout<<"\nENTER YOUR CHOICE:\n";

cout<<"\n1. Show all stored items:";

cout<<"\n2. Add an old item:";

cout<<"\n3. Add a new item:";

cout<<"\n4. Sell an item:";

cout<<"\n5. Total sold:";

cout<<"\n6. Show total items sold:";

cout<<"\n7. Quit";
cin>>x;

switch(x)

{ case 1: d[i].show();

break;

case 2: d[i].add_old();

d[i].show();

break;

case 3: d[i].add_new();

d[i].show();

break;

case 4: d[i].sell();

i++,j++;

break;

case 5:{ cout<<"Total Sold:";

s=0;

for(p=0;p<j;p++)

{ s=s+d[p].price;

cout<<s;

cout<<"TK.\n";
}

break;

case 6: for(i=0;i<j;i++)

{ d[i].total_items();

break;

case 7: break;

} while(x!=7);

getch();

return 0;

8. Output:
Entering choice no 1 :-

Entering choice no 2 :-
Performing 2no choice after performing 2 no choice

Entering choice no 3 :-

Performing 3no choice after performing 3 no choice

Entering choice no 4 :- Entering choice no 5 :-


Entering choice no 6 :-

9. Skill developed / learning out of this micro-project


we learned how to Keep your analysis in the business

world, using business words, with encapsulation of related

strings and numbers into classes.

10.Conclusion

The above coding helps a store manager to manage the store

Efficiently with the proper use of the above functions.

You might also like