Professional Documents
Culture Documents
Fast Food Foundation
Fast Food Foundation
FOUNDATION OF
COMPUTING
SUMITTED BY : ARUN
R246B44
SUMITTED TO: SUKHDILPREET KAUR
DOS:15:12:2008
AKNOWLELDGEMENT
ARUN
R246B44
THE TABLE OF CONTENTS
1-INTRODUCTION
2-PROPOSED SYSTEM
3-SYSTEM DESIGN
4-SOURCE CODES
5-SNAPS SHOTS
6-FUTURE PROSPECTIVE
INTRODUCTION
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 possible maintenance costs. It should
overcome all the drawbacks of the Old existing system and most
important of all meet the user requirements.
START
Enter
your
choice?
Do you want to
continue?
STOP
Source codes
#include<stdio.h>
#include<conio.h>
int a,m,b,c,stock=0;
void display()
clrscr();
printf("=======================<<Menu>>=========================");
printf("\n========================================================");
printf("\n========================================================");
printf("\n!
=====================================================!");
printf("\n=========================================================");
};
void entry()
play:
scanf("%d",&a);
};
void product1()
c=20;
printf("\n<<veg-berger>>");
scanf("%d",&b);
c=c*b;
stock=stock+c;
};
void product2()
printf("\n<<Non-veg berger>>");
scanf("%d",&b);
c=30;
c=c*b;
stock=stock+c;
};
void product3()
printf("\n<<coke>>");
scanf("%d",&b);
c=25;
c=c*b;
stock=stock+c;
};
void product4()
{
printf("\n<<Veg Pizza>>");
scanf("%d",&b);
c=45;
c=c*b;
stock=stock+c;
};
void product5()
printf("\n<<Non-Veg Pizza>>");
scanf("%d",&b);
c=65;
c=c*b;
stock=stock+c;
};
void product6()
};
void product7()
printf("\nNew program.");
};
void fdisplay()
printf("\n====================================================");
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====================================================");
};
main()
int p;
g:
scanf("%d",&p);
if(p==1)
goto play;
if(p!=1)
goto g;
play:
display();
entry();
if(a==1)
product1();
entry();
if(a==2)
product2();
entry();
}
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;
}
getch();
Snap shots
1-login screen
2-menu screen