SuperMarket Inventory Software in DataStructure


ABSTRACT

In this project that is SUPER MARKET MANAGEMENT SYSTEM prepared, is designed to manage a shop. It contains the details about the materials available in the super market, as well as the billing details etc.
And all the details related to them are computerized and can be further used at any time of requirements. This program is capable of holding any number of billing details. And all the transactions are done in five options.
 First window will show the details of shop management.
 In the second window there are five options. We can select any option as we wish.
 In the first option, it will show the menu and purchase details. The items present in the shop as well as its price rate.
 In the second option, it will show the number of items that are present in the super market.
 In the third option, it will show the cusyomer details, customers smart card number, bill number, contact number etc so that if there is any problem in transaction, the shop keeper can contact with the customer.
 In the fourth option, it will display the super market details, about the rules and regulations that should be kept inside the super market.
 The fifth option will allow us to exit from the program.

INTRODUCTION
In the development of a project the selection of an appropriate programming language and a platform is of primary importance. In the development of this application, it has been taken into great consideration that server overhead should be aow as far as possible.

Turbo c++
C++ programming language was developed at AT & T BELL Laboratories in the early 1980’s by Bjarne Stroustrup. C++ is one of the most widely used development tools on the market today. C++ is a high level , compiler and high shell language. In addition, C++ has the feature of object-oriented programming. The C++ provide facility like encapsulation and polymorphism it also provide various features like exception handling mechanism it also provide runtime object error correction.

FEATURES OF C++
• It is a simple language that’s easy to master.
• C++ makes working with tha basic data types extremely easy.
• C++ provide a full-featured development environment with features such as polymorphism.
• The native code compiler provides the feature to build fast, scalable components.

REQUIREMENT ANALYSIS

HARDWARE REQUIREMENTS

PROCESSOR Pentim III 500 MHz.
HARD DISK DRIVE – 10.2 GB
RAM – 64 MB
CACHE – 512 KB

SOFTWARE ENVIRONMENT OF THE PROJECT

PLATFORM WINDOWS – 98,XP,2000
FRONT END – Turbo C++
BACK END – Dos file support

PROGRAM CODE

//********************************************
// INCLUDING HEADER FILES
//********************************************
#include
#include
#include
#include
#include #include
#include
void main()
{
clrscr();
unsigned int sum,add,d,i,j,e,f,g,h,k,l,w,x,y,z;
unsigned int bir=10,per=36,der=110,mur=8,par=110,cor=90,twr=1199,lur=17,tir=107,rer=1499;
int qubis=1000,abis=0,qupep=1000,quden=110,aden=0,qumun=1000,amun=0,quperk=500,aperk=0,qucoc=400,
acoc=0,qutit=100, atit=0,qulux=1000,alux=0,qutid=1000,atid=0,quree=300,aree=0;
unsigned int m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;
char name[50],rank[10],pu,c[20],a[15],b[15],ok;
clrscr();
cout<<“\n\n w w eeeeeeee l ccccccc oooooo m m eeeeeeeee”;
cout<<“\n\n w w w e l c o o mm mm e “;
cout<<“\n\n w w w w e l c o o mm mm e “;
cout<<“\n\n w w w w eeeeeeee l c o o m m m m eeeeeeeee”;
cout<<“\n\n ww ww e l c o o m m m m e “;
cout<<“\n\n ww ww e l c o o m m m m e “;
cout<<“\n\n w w eeeeeeee lllllll ccccccc oooooo m m m eeeeeeeee”;
cout<<“\n\n\n……………………………………………………..\n\n\n”;
cout<<“\n\n\n\n…………………………..Our Members………………\n”;
cout<<“\n\nAnoop – Entrepreneur and Team Leader\n”;
cout<<“\nAshik – Manager, Code Tester and Helper\n”;
cout<<“\nArun – Coder\n”;
cout<<“\nIlyas – Travaller Boy\n”;
cout<<“\nDhanan- Photostat and other Misc boy\n”;
cout<<“\nDeepak- Assistant Coder\n”;
cout<<“\n\n\n………………………Thanks to Sandhya Ma’am………….\n”;
getch();
clrscr();
cout<<“\n\n\t\t SHOP MANAGEMENT”;
cout<<“\n CONSUMER INFORMATION”;
cout<<“\n\n\t NAME:\t”;
gets(name);
cout<<“\n\t RANK:\t”;
gets(rank);
cout<<“\n\t SERVICE NO:\t”; cin>>a;
cout<<“\n\t SMARTCARD NO:\t”; cin>>b;
cout<<“\n\t PHONE NO;\t”; cin>>c;
cout<<“\n\t ENTER BILL NO:\t”; cin>>i;
again:;
clrscr();

/*********************************************************
TO DISPLAY MAIN MENU
*********************************************************/

cout<<“\n\n\n\t 1.MENU & PURCHACE”;
cout<<“\n\t2.DETAILS”;
cout<<“\n\t3.NEW COUSTEMER”;
cout<<“\n\t4.QUANTITY AVAILABILITY”;
cout<<“\n\t5.EXIT” ;
cout<<“\\n\ntEnter your Choice:”; cin>>d;
clrscr();

/*****************************************************
TO DISPLAY OTEM LIST
*****************************************************/

switch(d)
{
case 1:cout<<“\nITEMS\t\t\t\t\t\ RATE(Rs.)”;
cout<<“\n\nBISCUTE\t\t\t\t\t 10”;
cout<<“\nPEPSODENT\t\t\t\t\t 36”;
cout<<“\nDENIM POWDER\\t\t\t\t\t 110”;
cout<<“\nMUNCH\t\t\t\t\t\t 5”;
cout<<“\nPARK AVENUE PERFUME\t\t\t\t 270”;
cout<<“\nCOCONUT HAIR OIL\t\t\t\t 129”;
cout<<“\nLUX\t\t\t\t\t\t 17”;
cout<<“\nTIDE\t\t\t\t\t\t 78”;
cout<<“\nREEBOK SHOES\t\t\t\t\t 1500”;
cout<<“\nTITAN WATCH\t\t\t\t\t 1200”;
start:
cout<<“\n\n Do You Want To Purchase(Y/N):\T\N”; cin>>pu;
if(pu==’y’ || pu==’Y’)
{
switch(pu)
{
case 1:clrscr();
cout<<“\n\n\nPURCHASE LIST”;
bis:;
cout<<“\nBISCUT (MAX 30):” ; cin>>m;
if(m>30)
{
cout<<“Enter Quantity smaller than 30”;
getch();
goto bis;
}
else
abis=qubis-m;
pep:;
cout<<“\nPEPSODENT (MAX 2):”; cin>>n;
if(n>2)
{
cout<<“Enter Quantity Smaller than 2”;
getch();
goto pep;
}
else
apep=qupep-n;
den:;
cout<<“\nDENIM POWDER (MAX 2):” ; cin>>o;
if(o>2)
{
cout<<“Enter Quantity Smaller than 2”;
getch();
goto den;
}
else
aden=quden-o;
mun:;
cout<<“\nMUNCH (MAX 50):”; cin>>p;
if(p>50)
{
cout<<“Enter Quantity Smaller than 50”;
getch();
goto mun;
}
else
amun=qumun-p;
park:;
cout<<“\nPARK AVENUE PERFUME (MAX 2):”; cin>>q;
if(q>2)
{
cout<<“Enter The Quantity Smaller than 2”;
getch();
goto park;
}
else
apark=qupark-q;
coco:;
cout<<“\nCOCONUT HAIR OIL (MAX 2):”; cin>>r;
if(r>2)
{
cout<<“Enter Quantity Smaller than 2”;
getch();
goto coco;
}
else
acoc=qucoc-r;
titan:;
cout<<“\nTITAN WATCH (MAX 2):”; cin>>s;
if(s>2)
{
cout<<“Enter Quantity Smaller than 2”;
grtch();
goto titan;
}
else
atit=qutit=s;
lux:;
cout<<“\nLUX SOAP (MAX 10):”; cin>>t;
if(t>10)
{
cout<<“Enter Quantity Smaller than 10”;
getch();
goto lux ;
}
else
alux=qulux-t;
tid:;
cout<<“\nTIDE (MAX 2):”; cin>>u;
if(u>2)
{
cout<<“Enter Quantity Smaller than 2”;
getch();
goto tid;
}
else
atid=qutid-u;
ree:;
cout<<“\nREEBOK SHOE (MAX 4):” ; cin>>v;
if(v>4)
{
cout<<“Enter Quantity Smaller than 4”;
getch();
goto ree;
}
else
aree=quree-v;

cout<<“\n”;
clrscr();

/*****************************************************
TO DISPLAY THE BILL DETAILS
*****************************************************/

cout<<“\n\n\n\n\t\t\tLULU HYPER MARKET\n”;
cout<<“\n\n\t\t\t\t CASH DEMO\n”;
cout<<“\n\nBILL NO.:”<<i;
cout<<“\n\nNAME:”;
cout<<name;
cout<<“\n\nRANK:”<<rank;
cout<<“\n\nSERVICE NO.:”<<a;
cout<<“\n\nSMARTCARD NO.:”<<b;
cout<<“\n\nPHONE NO.:”<<c;
cout<<“\n\n\n\n”;
cout<<“=============================================================”;

cout<<“\nITEMS”<<setw(40)<<“QUANTITY”<<setw(35)<<“PRICE (RS.)” ;
cout<<“===================================================================”; if(m>0)
cout<<“\n\nBISCUT” <<setw(38)<<m<<setw(28)<<“Rs.”<<m*bir; if(n>0)
cout<<“\n\nPEPSODENT” <<setw(36)<<n<<setw(28)<<“Rs.”<<n*per; if(o>0)
cout<<“\n\nDENIM POWDER” <<setw(33)<<o<<setw(28)<<“Rs.”<<o*der ; if(p>0)
cout<<“\n\nMUNCH” <<setw(40)<<p<<setw(28)<<“Rs.”<<p*mur; if(q>0)
cout<<“\n\nPARK AVENUE PERFUME” <<setw(26)<<q<<setw(28)<<“Rs.”<<q*par; if(r>0)
cout<<“\n\nCOCONUT HAUR OIL” <<setw(29)<<r<<setw(28)<<“Rs.”<<r*cor; if(s>0)
cout<<“\n\nTITAN WATCH” <<setw(34)<<s<<setw(28)<<“Rs.”<<s*twr; if(t>0)
cout<<“\n\nLUX SOAP” <<setw(37)<<t<<setw(28)<<“Rs.”<<t*lur ; if(u>0)
cout<<“\n\nTIDE” <<setw(41)<<u<<setw(28)<<“Rs.”<<u*tir; if(v>0)
cout<<“\n\nREEBOK SHOE” <<setw(33)<<v<<setw(28)<<“Rs.”<<v*rer;
e=m*bir;
f=n*per;
g=o*der;
h=p*mur;
k=q*par;
l=r*cor;
w=s*twr;
x=t*lur;
y=u*tir;
z=v*rer;
sum=e+g+h+k+f+l+w+x+y+z;
add=m+n+o+p+q+r+s+t+u+v;
cout<<“===============================================================”;
cout<<“\nTOTAL:”<< setw(40)<<addsetw(27)<<“Rs.”<<sum;
cout<<“\n\nTHANK YOU.\t\t VISIT AGAIN”;
getch();
clrscr();
goto again;
}
else
{
goto again;
}

/*********************************************************************
TO DISPLAY THE SHOPE DETAILS
*********************************************************************/

case 2:cout<<“\n\n\n\n\t\t\tSHOPE DETAILS”;
cout<<“\n\nTIMING:\n\n11.00 AM TO 02.00 PM\n03.00 PM TO 05.00 PM”;
cout<<“\n\n#SHOPE WILL CLOSED ON SUNDAY”;
cout<<“\n\n#GOODS ONCE SOLD WILL NOT BE EXCHANGED OR REPLACED”;
cout<<“\n\n/#TAKE YOUR SMART CARD”;
cout<<“\n\n#COLLECT YOUR SMART CARD & BILL AFTER PAYMENT”;
cout<<“\n\n#DO NOT BREAK ANY ITEM”; getch(); clrscr(); goto again; /**************** TO DISPLAY ITEM MENU IN THE SHOPE ****
**********/ case 3:goto main; case 4:if(m>0||n>0||o>0||p>0||q>0||r>0||s>0||t>0||u>0||v>0)
{
cout<<“\n\n\t\tItems Available in Shope\n\n\n”;
cout<<“===========================================================”;
cout<<“\nITEMS” <<setw(40)<<“QUANTITY”;
cout<<“============================================================”;
cout<<“\n\n\nBISCUTE” <<setw(38)<<abis;
cout<<“\n\n\nPEPSODENT” <<setw(36)<<apep;
cout<<“\n\n\nDENIM POWDER” <<setw(33)<<aden;
cout<<“\n\n\nMUNCH” <<setw(40)<<amun;
cout<<“\n\n\nPARK AVENUE PERFUME” <<setw(26)<<aperk;
cout<<“\n\n\nCOCONUT HAIR OIL” <<setw(29)<<acoc;
cout<<“\n\n\nTITAN WATCH” <<setw(34)<<atit;
cout<<“\n\n\nLUX SOAP” <<setw(37) <<alux;
cout<<“\n\n\nTIDE” <<setw(41)<<atid;
cout<<“\n\nREEBOK SHOE” <<setw(33)<<aree;
cout<<“\n*****************************************************”;
getch();
goto again();
}
else
{
{
cout<<“\n\t\t\tItems Available in Shope.\n\n\n”;
cout<<“==========================================================”;
cout<<“\nITEMS” <<setw(40)<<“QUANTITY”;
cout<<“\n=======================================================”;
cout<<“\n\n\nBISCUTE” <<setw(38)<<qubis;
cout<<“\n\n\nPEPSODENT” <<setw(36)<<qupep;
cout<<“\n\n\nDENIM POWDER” <<setw(33)<<quden;
cout<<“\n\n\nMUNCH” <<setw(40)<<qumun;
cout<<“\n\n\nPARK AVENUE PERFUME” <<setw(26)<<quperk;
cout<<“\n\n\nCOCONUT HAIR OIL” <<setw(29)<<qucoc;
cout<<“\n\n\nTITAN WATCH” <<setw(34)<<qutit;
cout<<“\n\n\nLUX SOAP” <<setw(37) <<qulux;
cout<<“\n\n\nTIDE” <<setw(41)<<qutid;
cout<<“\n\nREEBOK SHOE” <<setw(33)<<quree;
cout<<“\n\n**********************************************************”;
getch();
goto again;
}
case 5:cout<<“\n\n\nt\t\tTHANKS”;
sleep(1);
clrscr();
cout<<“\n\n\n\t\t\tTHANKS”;
sleep(1);
clrscr();
cout<<“\n\nn\n\n\t\t\tTHANKS”;
sleep(1);
clrscr();
cout<<“\n\n\n\n\n\n\n\t\t\tTHANKS”;
sleep(1);
clrscr();
cout<<“\n\n\n\n\n\n\n\n\t\t\tTHANKS”;
sleep(1);
clrscr();
cout<<“\n\n\n\n\n\n\n\n\n\n\t\t\tTHANKS”;
sleep(1);
clrscr();
cout<<“\n\n\n\n\n\n\n\n\n\n\n\n\t\t\tTHANKS”;
sleep(1);
clrscr();
cout<<“\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\tTHANKS”;
sleep(1);
clrscr();
cout<<“\n\n\n\n\n\n\n\n\t\t\tTHANKS\n\n\n\n\t\t\t”;
sleep(1);
clrscr();
cout<<“\nPress any key to Exit…..”;
getch();
exit(0);
default:cout<<“Your Choice is Wrong..!”;getch();
goto again;
}
//getch();
//return 0;
}
}
}

Click Here..! to Download The Project

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s