39269649 fast food foundation[1]

15
TERM PAPER FAST FOOD AUTOMATION SYSTEM SUMITTED BY : PRADEEP KUMAR ,RTB902B43 SUMITTED TO: MISS.HARDARSHAN KAUR DOS:08:11:2010

Upload: pradeep-munde

Post on 10-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 1/15

TERM PAPER

FAST FOOD AUTOMATIONSYSTEM

SUMITTED BY : PRADEEP KUMAR ,RTB902B43SUMITTED TO: MISS.HARDARSHAN KAURDOS:08:11:2010

Page 2: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 2/15

AKNOWLELDGEMENT 

As usual large number of people deserves my thanks for the help

they provided me for the preparation for this term paper.

First of all i would like to thanks my teacher miss.hardarshan

kaur for her support during the preparation of this topic . I amvery thankful for her guidance.

I would also like to thanks my friends for the encouragement and

information about the topic they provided to me during to me

during my effort to prepare this topic.

PRADEEP

Page 3: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 3/15

THE TABLE OF CONTENTS

1-INTRODUCTION

2-PROPOSED SYSTEM

3-SYSTEM DESIGN

4-SOURCE CODES

5-SNAPS SHOTS

6-FUTURE PROSPECTIVE

Page 4: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 4/15

INTRODUCTION

This project deals with the fast food automation system . It has

been programmed using c language . Frequently use of library

function has been made . The use of library functions has really

helped to reduce the length as well as complexity of the project .

The program takes input about the codes of the food so as to show

the detailed bill to the customer . It also has the provision of 

inquiry about different type of fast food available , there codes

and their rates . That’s all about this project.

Page 5: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 5/15

PROPOSED SYSTEM

There is no specific requirement of the system to run this program . The

source codes can be compiled and run on any system having c languageinstalled on it . The EXE version i.e. EXE file of the project can run

independently on any operating system . Moreover , it is advised to use the

program on following operating systems.

1.Microsoft windows98

2.Microsoft windowsXP

SYSTEM DESIGN 

Then we began with the design phase of the system.

System design is a solution, a “HOW TO” approach to

the creation of a new system. It translates system

requirements into ways by which they can be made

operational. It is a translational from a user oriented

document to a document oriented programmers. For

that, it provides the understanding and procedural

details necessary for the implementation. Here we use

Flowchart to supplement the working of the new

system. The system thus made should be reliable,

durable and above all should have least possiblemaintenance costs. It should overcome all the

drawbacks of the Old existing system and most

important of all meet the user requirements.

Page 6: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 6/15

Source codes

#include<stdio.h>

#include<conio.h>

Welcome to main menu of fast food

automation system

Enter

your

choice?

Place order Bill quit

Do you want to

continue?

START

STOP

Page 7: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 7/15

int a,m,b,c,stock=0;

void display()

{

clrscr();

printf("=======================<<Menu>>=========================");

printf("\n========================================================");

printf("\n! Code ! Items ! Price !");

printf("\n========================================================");

printf("\n! Code 1: ! Price of Simple Burger is ! Rs 20/- !");

printf("\n! Code 2: ! Price of non-veg Burger is ! Rs 30/- !");

printf("\n! Code 3: ! Price of coke is ! Rs 25/- !");

printf("\n! Code 4: ! Price of veg Pizza is ! Rs 45/- !");

printf("\n! Code 5: ! Price of non-veg pizza is ! Rs 65/- !");

printf("\n!=====================================================!");

printf("\n! Code 6: Make the Bill. !");

printf("\n! Code 7: Palace the New Order. !");

printf("\n=========================================================");

};

void entry()

{

play:

printf("\n\nEnter the Product Code:");

scanf("%d",&a);

};

Page 8: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 8/15

void product1()

{

c=20;

printf("\n<<veg-berger>>");

printf("\nEnter the quantity:");

scanf("%d",&b);

c=c*b;

stock=stock+c;

};

void product2()

{

printf("\n<<Non-veg berger>>");

printf("\nEnter the quantity:");

scanf("%d",&b);

c=30;

c=c*b;

stock=stock+c;

};

void product3()

{

printf("\n<<coke>>");

printf("\nEnter the quantity:");

scanf("%d",&b);

c=25;

c=c*b;

stock=stock+c;

};

void product4()

Page 9: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 9/15

{

printf("\n<<Veg Pizza>>");

printf("\nEnter the quantity:");

scanf("%d",&b);

c=45;

c=c*b;

stock=stock+c;

};

void product5()

{

printf("\n<<Non-Veg Pizza>>");

printf("\nEnter the quantity:");

scanf("%d",&b);

c=65;

c=c*b;

stock=stock+c;

};

void product6()

{

printf("\nNet Bill is:%d",stock);

};

void product7()

{

printf("\nNew program.");

printf("\nNet Bill is:%d",stock);

};

void fdisplay()

{

printf("\n====================================================");

Page 10: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 10/15

printf("\nItems Rate Qty Cost");

printf("\n====================================================");

if(a==1)

{

printf("\nveg-berger");

}

if(a==2)

{

printf("\nNon-veg berger");

}

if(a==3)

{

printf("\ncoke");

}

if(a==4)

{

printf("\nVeg Pizza");

}

if(a==5)

{

printf("\nNon-Veg Pizza");

}

printf("\n====================================================");

printf("\nNet Bill is: %d",stock);

Page 11: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 11/15

printf("\n====================================================");

};

main()

{

int p;

g:

printf("\nEnter the password:");

scanf("%d",&p);

if(p==1)

{

goto play;

}

if(p!=1)

{

printf("<<Your Password is wrong enter again>>");

goto g;

}

play:

display();

entry();

if(a==1)

{

product1();

entry();

}

if(a==2)

{

product2();

entry();

Page 12: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 12/15

}

if(a==3)

{

product3();

entry();}

if(a==4)

{

product4();

entry();

}

if(a==5)

{

product5();

entry();

}

if(a==6)

{

product6();

fdisplay();

entry();

}

if(a==7)

{

product7();

goto play;

}

Page 13: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 13/15

getch();

}

Snap shots

1-login screen

2-menu screen

Page 14: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 14/15

3-Total bill screen

Page 15: 39269649 Fast Food Foundation[1]

8/8/2019 39269649 Fast Food Foundation[1]

http://slidepdf.com/reader/full/39269649-fast-food-foundation1 15/15

FUTURE SCOPE OF PROJECT 

This project can be really helpful in management of fast

food restaurants. There is scope for modification in a way

to meet the future requirements of restaurants. Its ability

to run on different operating systems and occupy less

memory favours it as compared to other programs.

Thanx ..