SlideShare a Scribd company logo
_______________________________
ShopCard
______________________________________
Presented By
Harsh Mathur
Bachelors of Computer Application
Dezyne E’cole College, Ajmer
Project report on
Shop Card
Submitted To
Dezyne E’cole College
Towards
The Partial Fulfilment
Of 2017 Year, Bachelor of Computer Application
By
Harsh Mathur
Dezyne E’cole College
106/10, Civil Line Ajmer
www.dezyneecole.com
Acknowledgment
I Am Harsh Mathur Student of Bachelor Of Computer Application
Dezyne E’cole College Would Like To Express My Gratitude to Each
And Every Person Who Has Contributed In Stimulating Suggestions
And Encouragement Which Really Helped Me to Coordinate My
Project.
I Also Thank Dezyne E’cole College Who Provided Insight And Expertise
That Greatly Assisted the Project. Also, a Special Thanks To My
Teachers, Parents and Colleagues Who Have Supported Me At Every
Step. Not To Forget, the Almighty Who Blessed Me With Good Health
Because of Which I Worked More Efficiently And Better.
In the following pages I am showcasing my work:
Front Page
1 | P a g e
void main()
{
clrscr();
textbackground(1);
gotoxy(32,8);
cout<<"1. ADD "<<endl;
gotoxy(32,10);
cout<<"2. SHOW "<<endl;
gotoxy(32,12);
cout<<"3. UPDATE "<<endl;
gotoxy(32,14);
cout<<"4. Billing "<<endl;
gotoxy(32,16);
cout<<"5. Delete "<<endl;
gotoxy(32,18);
cout<<"6. Exit"<<endl;
2 | P a g e
char c;
c=getch();
store s,y;
if(c=='1')
{
clrscr();
s.get();
s.add(s);
}
else if(c=='2')
{
clrscr();
y.show();
}
else if(c=='3')
{
clrscr();
y.update();
}
3 | P a g e
else if(c=='4')
{
clrscr();
y.autoid();
y.Bill();
}
else if(c=='5')
{
clrscr();
y.del();
}
else if(c=='6')
{
clrscr();
exit(0);
}
gotoxy(20,20);
4 | P a g e
cout<<"nttDo you Want to
continue..press 1 else any key.. ";
c=getch();
if(c=='1')
{
main();
}
else
{
exit(0);
}
getch();
}
5 | P a g e
ADD DATA
6 | P a g e
#include<iostream.h>
#include<conio.h>
#include<fstream.h>
#include<stdio.h>
#include<stdlib.h>
int c=1000;
class store
{
public:
int id,q;
char n[20];
float dis,r;
void get()
{ clrscr();
gotoxy(30,8);
cout<<"Enter your id:: ";
cin>>id;
7 | P a g e
gotoxy(30,10);
cout<<"Enter Product Name name";
cin>>n;
gotoxy(30,12);
cout<<"EnterDisountProduct::";
cin>>dis;
gotoxy(30,14);
cout<<"Enter Qty of Product:: ";
cin>>q;
gotoxy(30,16);
cout<<"Enter Rate Product:: ";
cin>>r;
}
void add(store x)
{
fstream f;
f.open("shopdata.txt",ios::out|app);
f.write((char *)&x,sizeof(x));
gotoxy(40,20);
cout<<"Data succesfully inserted ";
8 | P a g e
f.close();
}
SHOW DATA
9 | P a g e
void show()
{
store x;
int c=0;
fstream f1;
f1.open("shopdata.txt",ios::in);
gotoxy(5,5);
cout<<"tIdtProduct_NamettDiscounttQtyttRate";
while(f1.read((char*)&x,sizeof(x)))
{
cout<<"t"<<x.id<<"t";
cout<<x.n<<"tt";
cout<<x.dis<<"%"<<"tt";
cout<<x.q<<"tt";
cout<<x.r<<endl;
}
f1.close();
10 | P a g e
}
UPDATE RECORD
11 | P a g e
void update()
{
int nid;
//clrscr();
gotoxy(30,2);
cout<<"*****UPDATERECORD******;
gotoxy(30,6);
cout<<"Enter Product id Update:: ";
cin>>nid;
store x;
int c=0;
fstream f1,f;
f1.open("shopdata.txt",ios::in);
while(f1.read((char*)&x,sizeof(x)))
{
f.open("temp.txt",ios::out|ios::app);
if(x.id==nid)
{
gotoxy(30,8);
12 | P a g e
cout<<"Enter your id:: "<<x.id;
gotoxy(30,10);
cout<<"Enter Product Name:: ";
gets(x.n);
gotoxy(30,12);
cout<<"Enter your Rate:: ";
cin>>x.r;
gotoxy(30,14);
cout<<"Enter your Product Qty :: ";
cin>>x.q;
gotoxy(30,16);
cout<<"Enter your Discount on Qty :: ";
cin>>x.dis;
f.write((char *)&x,sizeof(x));
}
else
{
f.write((char*)&x,sizeof(x));
}
f.close();
}
13 | P a g e
f1.close();
remove("shopdata.txt");
rename("temp.txt","shopdata.txt");
}
14 | P a g e
DELETE RECORD
15 | P a g e
void del()
{
int nid;
gotoxy(30,2);
cout<<"*****DELETERECORD******;
gotoxy(30,10);
cout<<"Enter a id::";
cin>>nid;
store x;
int c=0;
fstream f,f1;
f1.open("shopdata.txt",ios::in)
while(f1.read((char*)&x,sizeof(x)))
{
f.open("temp.txt",ios::out|ios::app);
if(nid==x.id)
{
gotoxy(30,18);
cout<<"Data Successful Delete";
16 | P a g e
}
else
{
f.write((char *)&x,sizeof(x));
}
f.close();
}
f1.close();
remove("shopdata.txt");
rename("temp.txt","shopdata.txt");
}
17 | P a g e
RETAIL INVOICE
18 | P a g e
void Bill()
{
store x;
int pid,i,max,no;
char cn[20];
float d,net;
fstream f1;
f1.open("shopdata.txt",ios::in);
gotoxy(25,8);
cout<<"Enter a Product id";
gotoxy(35,9);
cin>>pid;
clrscr();
textcolor(14);
gotoxy(30,2);
cout<<"***Retail Invoice***";
gotoxy(2,4);
cout<<"Customer Name::";
cin>>cn;
19 | P a g e
cout<<"nIdttProduct_NamettRatettDiscount";
while(f1.read((char *)&x,sizeof(x)))
{
if(x.id==pid)
{
cout<<endl<<x.id<<"tt";
cout<<x.n<<"tt";
cout<<x.r<<"tt";
cout<<x.dis<<"%"<<endl;
c++;
int pqt,multi;
cout<<"nEnter a Product Qty:";
cin>>pqt;
multi=pqt*x.r;
d=multi*pqt*x.dis/100;
net=multi-d;
cout<<"Bill id is::";
c=autoid();
gotoxy(58,10);
20 | P a g e
cout<<c;
cout<<"nTotal Amount Is::";
gotoxy(58,11);
cout<<multi<<" Rs.";
cout<<"nTotal Discount Amount Is::";
gotoxy(58,12);
cout<<d<<" Rs.";
cout<<"nNet Amount Is::";
gotoxy(58,13); clrscr();
textcolor(14);
gotoxy(30,2);
cout<<"***Retail Invoice***";
gotoxy(2,4);
cout<<"Customer Name::";
cin>>cn;
cout<<"nIdttProduct_NamettRatettDiscount";
while(f1.read((char *)&x,sizeof(x)))
{
if(x.id==pid)
{
21 | P a g e
cout<<endl<<x.id<<"tt";
cout<<x.n<<"tt";
cout<<x.r<<"tt";
cout<<x.dis<<"%"<<endl;
c++;
int pqt,multi;
cout<<"nEnter a Product Qty:";
cin>>pqt;
multi=pqt*x.r;
d=multi*pqt*x.dis/100;
net=multi-d;
cout<<"Bill id is::";
c=autoid();
gotoxy(58,10);
cout<<c;
cout<<"nTotal Amount Is::";
gotoxy(58,11);
cout<<multi<<" Rs.";
cout<<"nTotal Discount Amount Is::";
22 | P a g e
gotoxy(58,12);
cout<<d<<" Rs.";
cout<<"nNet Amount Is::";
gotoxy(58,13);
cout<<net<<" Rs.";
break;
}
}
if(c==0)
{
cout<<"nData NOT Found::";
}
f1.close();
}
23 | P a g e
Thank You
Presented By
Harsh Mathur
Bachelors of Computer Application
Dezyne E’cole College, Ajmer
24 | P a g e

More Related Content

Similar to Harsh Mathur, BCA-2 Year

Rounit Mathur , BCA Third Year
Rounit Mathur , BCA Third YearRounit Mathur , BCA Third Year
Rounit Mathur , BCA Third Year
Dezyneecole
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Year
dezyneecole
 
Kajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearKajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third Year
Dezyneecole
 
Vinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearVinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third Year
Dezyneecole
 
Harsh Mathur, BCA Second Year, Dezyne E'cole College
Harsh Mathur, BCA Second Year, Dezyne E'cole CollegeHarsh Mathur, BCA Second Year, Dezyne E'cole College
Harsh Mathur, BCA Second Year, Dezyne E'cole College
Dezyneecole
 
Hardik Jadam , BCA Third Year
Hardik Jadam , BCA Third YearHardik Jadam , BCA Third Year
Hardik Jadam , BCA Third Year
dezyneecole
 
Karishma Mulani , BCA 2 Year
Karishma Mulani , BCA 2 YearKarishma Mulani , BCA 2 Year
Karishma Mulani , BCA 2 Year
dezyneecole
 
Action View Form Helpers - 1, Season 2
Action View Form Helpers - 1, Season 2Action View Form Helpers - 1, Season 2
Action View Form Helpers - 1, Season 2RORLAB
 
Invoice Maker by harsh mathur
Invoice Maker by harsh mathurInvoice Maker by harsh mathur
Invoice Maker by harsh mathur
Harsh Mathur
 
Neil Patel - What You Need to be Measuring and How to Do It
Neil Patel - What You Need to be Measuring and How to Do ItNeil Patel - What You Need to be Measuring and How to Do It
Neil Patel - What You Need to be Measuring and How to Do It
Carsonified Team
 
Quiz game documentary
Quiz game documentaryQuiz game documentary
Quiz game documentary
ALI RAZA
 
Hi5 Opensocial Code Lab Presentation
Hi5 Opensocial Code Lab PresentationHi5 Opensocial Code Lab Presentation
Hi5 Opensocial Code Lab Presentationplindner
 
Daily expenses tracker project ppt7.pptx
Daily expenses tracker project ppt7.pptxDaily expenses tracker project ppt7.pptx
Daily expenses tracker project ppt7.pptx
ssusere6f5a11
 
Hospitalmanagement
HospitalmanagementHospitalmanagement
Hospitalmanagement
vikram mahendra
 
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO
 
Harsh Mathur Final Year Project Report on Restaurant Billing System
Harsh  Mathur Final Year Project Report on Restaurant Billing SystemHarsh  Mathur Final Year Project Report on Restaurant Billing System
Harsh Mathur Final Year Project Report on Restaurant Billing System
Harsh Mathur
 
Creating Multi-Page Data Entry Controllers
Creating Multi-Page Data Entry ControllersCreating Multi-Page Data Entry Controllers
Creating Multi-Page Data Entry Controllers
Salesforce Developers
 
Computer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market BillingComputer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market Billing
Harsh Kumar
 
Tejas_ppt.pptx
Tejas_ppt.pptxTejas_ppt.pptx
Tejas_ppt.pptx
GanuBappa
 
Tejas_ppt (1).pptx
Tejas_ppt (1).pptxTejas_ppt (1).pptx
Tejas_ppt (1).pptx
GanuBappa
 

Similar to Harsh Mathur, BCA-2 Year (20)

Rounit Mathur , BCA Third Year
Rounit Mathur , BCA Third YearRounit Mathur , BCA Third Year
Rounit Mathur , BCA Third Year
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Year
 
Kajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearKajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third Year
 
Vinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearVinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third Year
 
Harsh Mathur, BCA Second Year, Dezyne E'cole College
Harsh Mathur, BCA Second Year, Dezyne E'cole CollegeHarsh Mathur, BCA Second Year, Dezyne E'cole College
Harsh Mathur, BCA Second Year, Dezyne E'cole College
 
Hardik Jadam , BCA Third Year
Hardik Jadam , BCA Third YearHardik Jadam , BCA Third Year
Hardik Jadam , BCA Third Year
 
Karishma Mulani , BCA 2 Year
Karishma Mulani , BCA 2 YearKarishma Mulani , BCA 2 Year
Karishma Mulani , BCA 2 Year
 
Action View Form Helpers - 1, Season 2
Action View Form Helpers - 1, Season 2Action View Form Helpers - 1, Season 2
Action View Form Helpers - 1, Season 2
 
Invoice Maker by harsh mathur
Invoice Maker by harsh mathurInvoice Maker by harsh mathur
Invoice Maker by harsh mathur
 
Neil Patel - What You Need to be Measuring and How to Do It
Neil Patel - What You Need to be Measuring and How to Do ItNeil Patel - What You Need to be Measuring and How to Do It
Neil Patel - What You Need to be Measuring and How to Do It
 
Quiz game documentary
Quiz game documentaryQuiz game documentary
Quiz game documentary
 
Hi5 Opensocial Code Lab Presentation
Hi5 Opensocial Code Lab PresentationHi5 Opensocial Code Lab Presentation
Hi5 Opensocial Code Lab Presentation
 
Daily expenses tracker project ppt7.pptx
Daily expenses tracker project ppt7.pptxDaily expenses tracker project ppt7.pptx
Daily expenses tracker project ppt7.pptx
 
Hospitalmanagement
HospitalmanagementHospitalmanagement
Hospitalmanagement
 
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
 
Harsh Mathur Final Year Project Report on Restaurant Billing System
Harsh  Mathur Final Year Project Report on Restaurant Billing SystemHarsh  Mathur Final Year Project Report on Restaurant Billing System
Harsh Mathur Final Year Project Report on Restaurant Billing System
 
Creating Multi-Page Data Entry Controllers
Creating Multi-Page Data Entry ControllersCreating Multi-Page Data Entry Controllers
Creating Multi-Page Data Entry Controllers
 
Computer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market BillingComputer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market Billing
 
Tejas_ppt.pptx
Tejas_ppt.pptxTejas_ppt.pptx
Tejas_ppt.pptx
 
Tejas_ppt (1).pptx
Tejas_ppt (1).pptxTejas_ppt (1).pptx
Tejas_ppt (1).pptx
 

More from dezyneecole

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Year
dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
dezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
dezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
dezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
dezyneecole
 
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
dezyneecole
 
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
dezyneecole
 
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Year
dezyneecole
 
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
dezyneecole
 
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
dezyneecole
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
dezyneecole
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
dezyneecole
 
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
dezyneecole
 

More from dezyneecole (20)

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Year
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
 
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
 
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
 
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Year
 
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
 
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
 
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
 
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
 
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
 

Recently uploaded

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 

Recently uploaded (20)

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 

Harsh Mathur, BCA-2 Year

  • 2. Project report on Shop Card Submitted To Dezyne E’cole College Towards The Partial Fulfilment Of 2017 Year, Bachelor of Computer Application By Harsh Mathur Dezyne E’cole College 106/10, Civil Line Ajmer www.dezyneecole.com
  • 3. Acknowledgment I Am Harsh Mathur Student of Bachelor Of Computer Application Dezyne E’cole College Would Like To Express My Gratitude to Each And Every Person Who Has Contributed In Stimulating Suggestions And Encouragement Which Really Helped Me to Coordinate My Project. I Also Thank Dezyne E’cole College Who Provided Insight And Expertise That Greatly Assisted the Project. Also, a Special Thanks To My Teachers, Parents and Colleagues Who Have Supported Me At Every Step. Not To Forget, the Almighty Who Blessed Me With Good Health Because of Which I Worked More Efficiently And Better.
  • 4. In the following pages I am showcasing my work: Front Page
  • 5. 1 | P a g e void main() { clrscr(); textbackground(1); gotoxy(32,8); cout<<"1. ADD "<<endl; gotoxy(32,10); cout<<"2. SHOW "<<endl; gotoxy(32,12); cout<<"3. UPDATE "<<endl; gotoxy(32,14); cout<<"4. Billing "<<endl; gotoxy(32,16); cout<<"5. Delete "<<endl; gotoxy(32,18); cout<<"6. Exit"<<endl;
  • 6. 2 | P a g e char c; c=getch(); store s,y; if(c=='1') { clrscr(); s.get(); s.add(s); } else if(c=='2') { clrscr(); y.show(); } else if(c=='3') { clrscr(); y.update(); }
  • 7. 3 | P a g e else if(c=='4') { clrscr(); y.autoid(); y.Bill(); } else if(c=='5') { clrscr(); y.del(); } else if(c=='6') { clrscr(); exit(0); } gotoxy(20,20);
  • 8. 4 | P a g e cout<<"nttDo you Want to continue..press 1 else any key.. "; c=getch(); if(c=='1') { main(); } else { exit(0); } getch(); }
  • 9. 5 | P a g e ADD DATA
  • 10. 6 | P a g e #include<iostream.h> #include<conio.h> #include<fstream.h> #include<stdio.h> #include<stdlib.h> int c=1000; class store { public: int id,q; char n[20]; float dis,r; void get() { clrscr(); gotoxy(30,8); cout<<"Enter your id:: "; cin>>id;
  • 11. 7 | P a g e gotoxy(30,10); cout<<"Enter Product Name name"; cin>>n; gotoxy(30,12); cout<<"EnterDisountProduct::"; cin>>dis; gotoxy(30,14); cout<<"Enter Qty of Product:: "; cin>>q; gotoxy(30,16); cout<<"Enter Rate Product:: "; cin>>r; } void add(store x) { fstream f; f.open("shopdata.txt",ios::out|app); f.write((char *)&x,sizeof(x)); gotoxy(40,20); cout<<"Data succesfully inserted ";
  • 12. 8 | P a g e f.close(); } SHOW DATA
  • 13. 9 | P a g e void show() { store x; int c=0; fstream f1; f1.open("shopdata.txt",ios::in); gotoxy(5,5); cout<<"tIdtProduct_NamettDiscounttQtyttRate"; while(f1.read((char*)&x,sizeof(x))) { cout<<"t"<<x.id<<"t"; cout<<x.n<<"tt"; cout<<x.dis<<"%"<<"tt"; cout<<x.q<<"tt"; cout<<x.r<<endl; } f1.close();
  • 14. 10 | P a g e } UPDATE RECORD
  • 15. 11 | P a g e void update() { int nid; //clrscr(); gotoxy(30,2); cout<<"*****UPDATERECORD******; gotoxy(30,6); cout<<"Enter Product id Update:: "; cin>>nid; store x; int c=0; fstream f1,f; f1.open("shopdata.txt",ios::in); while(f1.read((char*)&x,sizeof(x))) { f.open("temp.txt",ios::out|ios::app); if(x.id==nid) { gotoxy(30,8);
  • 16. 12 | P a g e cout<<"Enter your id:: "<<x.id; gotoxy(30,10); cout<<"Enter Product Name:: "; gets(x.n); gotoxy(30,12); cout<<"Enter your Rate:: "; cin>>x.r; gotoxy(30,14); cout<<"Enter your Product Qty :: "; cin>>x.q; gotoxy(30,16); cout<<"Enter your Discount on Qty :: "; cin>>x.dis; f.write((char *)&x,sizeof(x)); } else { f.write((char*)&x,sizeof(x)); } f.close(); }
  • 17. 13 | P a g e f1.close(); remove("shopdata.txt"); rename("temp.txt","shopdata.txt"); }
  • 18. 14 | P a g e DELETE RECORD
  • 19. 15 | P a g e void del() { int nid; gotoxy(30,2); cout<<"*****DELETERECORD******; gotoxy(30,10); cout<<"Enter a id::"; cin>>nid; store x; int c=0; fstream f,f1; f1.open("shopdata.txt",ios::in) while(f1.read((char*)&x,sizeof(x))) { f.open("temp.txt",ios::out|ios::app); if(nid==x.id) { gotoxy(30,18); cout<<"Data Successful Delete";
  • 20. 16 | P a g e } else { f.write((char *)&x,sizeof(x)); } f.close(); } f1.close(); remove("shopdata.txt"); rename("temp.txt","shopdata.txt"); }
  • 21. 17 | P a g e RETAIL INVOICE
  • 22. 18 | P a g e void Bill() { store x; int pid,i,max,no; char cn[20]; float d,net; fstream f1; f1.open("shopdata.txt",ios::in); gotoxy(25,8); cout<<"Enter a Product id"; gotoxy(35,9); cin>>pid; clrscr(); textcolor(14); gotoxy(30,2); cout<<"***Retail Invoice***"; gotoxy(2,4); cout<<"Customer Name::"; cin>>cn;
  • 23. 19 | P a g e cout<<"nIdttProduct_NamettRatettDiscount"; while(f1.read((char *)&x,sizeof(x))) { if(x.id==pid) { cout<<endl<<x.id<<"tt"; cout<<x.n<<"tt"; cout<<x.r<<"tt"; cout<<x.dis<<"%"<<endl; c++; int pqt,multi; cout<<"nEnter a Product Qty:"; cin>>pqt; multi=pqt*x.r; d=multi*pqt*x.dis/100; net=multi-d; cout<<"Bill id is::"; c=autoid(); gotoxy(58,10);
  • 24. 20 | P a g e cout<<c; cout<<"nTotal Amount Is::"; gotoxy(58,11); cout<<multi<<" Rs."; cout<<"nTotal Discount Amount Is::"; gotoxy(58,12); cout<<d<<" Rs."; cout<<"nNet Amount Is::"; gotoxy(58,13); clrscr(); textcolor(14); gotoxy(30,2); cout<<"***Retail Invoice***"; gotoxy(2,4); cout<<"Customer Name::"; cin>>cn; cout<<"nIdttProduct_NamettRatettDiscount"; while(f1.read((char *)&x,sizeof(x))) { if(x.id==pid) {
  • 25. 21 | P a g e cout<<endl<<x.id<<"tt"; cout<<x.n<<"tt"; cout<<x.r<<"tt"; cout<<x.dis<<"%"<<endl; c++; int pqt,multi; cout<<"nEnter a Product Qty:"; cin>>pqt; multi=pqt*x.r; d=multi*pqt*x.dis/100; net=multi-d; cout<<"Bill id is::"; c=autoid(); gotoxy(58,10); cout<<c; cout<<"nTotal Amount Is::"; gotoxy(58,11); cout<<multi<<" Rs."; cout<<"nTotal Discount Amount Is::";
  • 26. 22 | P a g e gotoxy(58,12); cout<<d<<" Rs."; cout<<"nNet Amount Is::"; gotoxy(58,13); cout<<net<<" Rs."; break; } } if(c==0) { cout<<"nData NOT Found::"; } f1.close(); }
  • 27. 23 | P a g e Thank You Presented By Harsh Mathur Bachelors of Computer Application Dezyne E’cole College, Ajmer
  • 28. 24 | P a g e