You are on page 1of 32

CHAPTER 1

INTRODUCTION

Bouquet is the sign of gratitude that one gives to the near and dear ones to make them
feel happy. Bouquet is the collection of different flowers that is arranged in a creative way.
You can also have a flower bouquet filled with not only flowers but also chocolates. It can be
used for the home decoration or the public buildings or can be given to the near and dear ones.
There are different flower bouquets with varying price. The flower bouquet management
system will help in giving surprises to the near and dear ones through these flower bouquets
that are ordered online.The customers will be able to search for the different flower bouquet
shops that are available near to their places so that they will be able to order online.Some
people suddenly plan to give a bouquet to their near and dear ones. At that time they may not
have time to visit the shops manually and get the bouquet. At these situations, the bouquet
management system will be of great help. You will get to know of the flower bouquet shops
that are present nearby and order online for the bouquets.Online bouquetShop Management
system project which is developed in C programming language. The bouquet are supplied by
various distributers and customers can book bouquet and or bouquet arrangements 2 or 3 days in
advance, before delivery.

The project titled “BOUQUET SHOP MANAGEMENT SYSTEM” is an online


comprehensive system designed to co-ordinate booking operations in a bouquet shop. These
include a variety of collections of bouquet and bouquetmade products such as gifts, bouquet
arrangements, etc. The system first checks for the availability of a particular bouquet, then if it is
available it avails it the customer. Bouquet management system will be able to extract
information from databases and make the reporting very easy. The system and its operations will
be safe and unauthorized access will not be allowed.
CHAPTER 2

SYSTEM STUDY

2.2 PROJECT DESCRIPTION

2.2.1 EXISTING SYSTEM

In the existing system the user has to buy the bouquet from the shop owner in a manual
way. This seems to be a complex problem for the shop owner. They have to store the user details
in a manual report. Whenever they search for details they cannot get the details as soon as
possible. Since, this will be a time consuming process and produce a great stress to manage the
entire shop.

2.2.2 PROPOSED SYSTEM

In our proposed system, a system based bouquet shopping management is added. Here
the user and the shop keeper are added with the Graphical User Interface (GUI). The GUI
implements the process added with a good user interface so that the user and the shop keeper can
easily communicate. In out developed system the user can easily buy the bouquet using the
added user account login and buy the flower from the shop keeper. This made the online
shopping in an easiest way. An efficient bouquet shopping system is developed using C.

2.3 REQUIREMENT SPECIFICATION

2.3.1 HARDWARE REQUIREMENTS

Processor : Dual core processor2.6.0 GHz

Ram : 1GB

Hard disk : 160GB

Compact Disk : 650MB

Keyboard : Standard Keyboard

Monitor : 15 inch color monitor


2.3.2 SOFTWARE REQUIREMENTS

Front End :c

IDE : Dev C++

Platform : Windows 7
CHAPTER 3

SYSTEM DESIGN

3.1 LOGICAL DESIGN

A logical design is a conceptual, abstract design. You do not deal with the physical
implementation details yet; you deal only with defining the types of information that you need.
The process of logical design involves arranging data into a series of logical relationships called
entities and attributes.

The user will be given with the choice of the product where he/ she can select the product
they want. The user can buy the bouquet by selecting the type and then selects the flower with
the price added in it

User

Choose type

Choose flower

Buy flower

Fig 3.1 logical design

3.2 INPUT DESIGN

Input design is the process of converting the user originated input into a computer based
format. The input data are collected and organized to make date entry easy, logical, and error
free. Each area in the input form should be identified and should be specified for the user what to
write and where to write.The objective in the input design is to ensure that the data which will be
processed by the system is collected and inserted in to the system efficiently according to the
specified requirements, and with the minimum errors. The basic design consideration that would
satisfies the user requirements were as follows.

A) Easier and congenial usage of field names to make them user friendly.

B) The same sequence for displaying fields as in the source

Document Regular interaction with the user was made to ensure the acceptability of inputs. The
human aspect of data input was taken in to account. Common representations were followed and
above all the simplicity of inputs was maintained.

1. Enter your name: bharath

Welcome bharath!!!

1. Focal flowers
2. Fillers flowers
3. greenery

Fig 3.2 input design

3.3 OUTPUT DESIGN

Output is a process that involves designing the necessary output that have to be given to
various users according to their requirements .Efficient, intelligible output design should
improve the system relationship with the user and help and in decision making. A major form of
the output is the hard copy from the printer. The output devices are selected by considering the
response time requirements print quickly. The print formats and edition for the final printout are
very much considered during output design.
1. David Austin garden rose-335
2. Burgundy berry dahlia-300
3. White calla filly-220

Fig 3.3 output design

3.4 FILE DESIGN

3.4.1 DATA FLOW DIAGRAM

A two-dimensional diagram explains how data is processed and transferred in a system.


The graphical depiction identifies each source of data and how it interacts with other data
sources to reach a common output. Individuals seeking to draft a data flow diagram must identify
external inputs and outputs, determine how the inputs and outputs relate to each other, and
explain with graphics how these connections relate and what they result in. This type of diagram
helps business development and design teams visualize how data is processed and identify or
improve certain aspects.
Login
Store the data

Search
Retrieving the data

User
Select
Store the data

Buy
Retrieving the data

Fig 3.4.1 DFD diagram

3.4.2 ER DIAGRAM

An entity-relationship diagram (ERD) is a data modeling technique that graphically


illustrates an information system's entities and the relationships between those entities.
An ERD is a conceptual and representational model of data used to represent the entity
framework infrastructure.
Fig 3.4.2 ER diagram

3.4.3 DATA DICTIONARY

User table:

Field Type Null Default

id int(100) Yes NULL

username varchar(100) Yes NULL

password varchar(100) Yes NULL


Bouquet table:

Field Type Null Default

Bouquet name varchar(100) Yes NULL

Bouquet type varchar(100) Yes NULL

price varchar(100) Yes NULL

3.5 PROGRAM DESIGN

3.5.1 MODULE DESCRIPTION

(i) Add details


(ii)View details
(iii)Buy Bouquet

(i)Add details

The bouquet details will be added by the admin. The added details will be stored in the
database where the user can easily access and do the process. The admin is the main head who
will add the details about the bouquet and the details will be changed in the view model to the
user.

(ii)View details

The customer is the one who will purchase the bouquet by searching the type which are
all retrieved from the database. The user can view the entire details like the type, category, and
price and then wish to buy the product. The user can view the entire details about the bouquet.

(iii)Buy Bouquet

The user will buy the bouquet using online. From the database stored the bouquet details
can be added. Such that the user can view the entire details of the bouquet and buy the product
through online.
CHAPTER 4

SYSTEM DEVELOPMENT

4.1 PROGRAM DEVELOPMENT

The code is developed by the information added with bouquet details and the user can login and
select the details they want. Thus the system is implemented using C language. The software tool
supported to develop this system is Devc++.

#include<stdio.h>

#include<string.h>

main()

static int totalCost;

int i,j,choice,c=1,a[9],cost[9];

for(i=0;i<9;i++)

a[i]=0;

char str[100];

char items[9][100]={"David Austin garden rose",

"burgundy berry dahlia",

"white calla lily",

"wax flower",

"baby’s breath",

"hypericum berries",
"tree fern",

"lily grass",

"seeded eucalyptus"

};

printf("Please Enter Your Name\n");

gets(str);

printf("Hello %s, Welcome to our Bouquet Shopping Management.\n",str);

do{

//C is 1 by default

if(c==1){

printf("Enter\n1 - Focal Flowers.\n2 - Filler Flowers\n3 - Greenery\nAny other number to


exit\n");

scanf("%d",&choice);

switch(choice)

case 1:

int accessoriesChoice;

printf("Enter\n1 - David Austin garden rose - Rs.355\n2 - burgundy berry dahlia- Rs.500\n3 -
white calla lily - Rs.550\nAny other number to exit\n");

scanf("%d",&accessoriesChoice);

cost[0]=355;
cost[1]=500;

cost[2]=550;

switch(accessoriesChoice)

case 1:

int num;

printf("You chose David Austin garden rose Rs.355.Are you sure to buy.If 'Yes' Enter 1 else
any number\n");

scanf("%d",&num);

if(num==1)

a[0]++;

totalCost+=355;

printf("Your Cost in Cart is %d\n",totalCost);

break;

case 2:

int num;
printf("You chose burgundy berry dahlia with Rs.500.Are you sure to buy.If 'Yes' Enter 1
else any number\n");

scanf("%d",&num);

if(num==1)

a[1]++;

totalCost+=500;

printf("Your Cost in Cart is %d\n",totalCost);

break;

case 3:

int num;

printf("You chose white calla lily with Rs.550.Are you sure to buy.If 'Yes' Enter 1 else any
number\n");

scanf("%d",&num);

if(num==1)

a[2]++;

totalCost+=550;

}
printf("Your Cost in Cart is %d\n",totalCost);

break;

default:{

printf("Exit from Focal Flowers\n");

break;

break;

case 2:

int shoesChoice;

printf("Enter\n1 - wax flower - Rs.355\n2 - baby’s breath - Rs.500\n3 - hypericum berries -


Rs.280\nAny other number to exit\n");

scanf("%d",&shoesChoice);

cost[3]=355;

cost[4]=500;

cost[5]=280;

switch(shoesChoice)

{
case 1:

int num;

printf("You chose wax flower for Rs.355.Are you sure to buy.If 'Yes' Enter 1 else any
number\n");

scanf("%d",&num);

if(num==1)

a[3]++;

totalCost+=355;

printf("Your Cost in Cart is %d\n",totalCost);

break;

case 2:

int num;

printf("You chose baby’s breath for Rs.500.Are you sure to buy.If 'Yes' Enter 1 else any
number\n");

scanf("%d",&num);

if(num==1)

{
a[4]++;

totalCost+=500;

printf("Your Cost in Cart is %d\n",totalCost);

break;

case 3:

int num;

printf("You chose hypericum berries for Rs.280.Are you sure to buy.If 'Yes' Enter 1 else any
number\n");

scanf("%d",&num);

if(num==1)

a[5]++;

totalCost+=280;

printf("Your Cost in Cart is %d\n",totalCost);

break;

default:{
printf("Exit from Filler Flowers\n");

break;

break;

case 3:

int mobileChoice;

printf("Enter\n1 - tree fern - Rs.110\n2 - lily grass - Rs.98\n3 - seeded eucalyptus -


Rs.128\nAny other number to exit\n");

scanf("%d",&mobileChoice);

cost[6]=110;

cost[7]=98;

cost[8]=128;

switch(mobileChoice)

case 1:

int num;

printf("You chose to buy tree fern for Rs.110.Are you sure to buy.If 'Yes' Enter 1 else any
number\n");
scanf("%d",&num);

if(num==1)

a[6]++;

totalCost+=110;

printf("Your Cost in Cart is %d\n",totalCost);

break;

case 2:

int num;

printf("You chose to buy lily grass for Rs.98.Are you sure to buy.If 'Yes' Enter 1 else any
number\n");

scanf("%d",&num);

if(num==1)

a[7]++;

totalCost+=98;

printf("Your Cost in Cart is %d\n",totalCost);


break;

case 3:

int num;

printf("You chose to buy leather Leaf for Rs.128.Are you sure to buy.If 'Yes' Enter 1 else any
number\n");

scanf("%d",&num);

if(num==1)

a[8]++;

totalCost+=128;

printf("Your Cost in Cart is %d\n",totalCost);

break;

default:{

printf("Exit from Greenery\n");

break;

}
break;

default:

printf("Enter Valid Categories Choice\n");

break;

printf("%s's cart\n",str);

printf("Id\tItems\t\tQuantity\tCost\n");

for(i=0;i<9;i++)

if(a[i]!=0)

printf("%d\t%s\t\t%d\t\t\t%d\n",i,items[i],a[i],(cost[i]*a[i]));

printf("Total Cost\t\t\t\t\t%d\n",totalCost);

printf("If you wish to buy anything more Enter\n1 to Add Item\n2 to Delete Items\n3 to Change
Quantity \nAny other number to Exit\n");

scanf("%d",&c);
}

if(c==2)

int id;

printf("Enter id to delete item\n");

scanf("%d",&id);

if(id<9&&id>0){

totalCost=totalCost-(cost[id]*a[id]);

a[id]=0;

else{

printf("Enter Valid id\n");

printf("Revised Items \n");

printf("Id\tItems\t\tQuantity\tCost\n");

for(i=0;i<9;i++)

if(a[i]!=0)

printf("%d\t%s\t%d\t\t%d\n",i,items[i],a[i],(cost[i]*a[i]));

}
}

printf("Total Cost\t\t\t\t\t%d\n",totalCost);

printf("If you wish to buy anything more Enter\n1 to Add Item\n2 to Delete Items\n3 to
Change Quantity \nAny other number to Exit\n");

scanf("%d",&c);

if(c==3)

int id,quantity;

printf("Enter id to Change quantity of an item\n");

scanf("%d",&id);

printf("Enter quantity to be changed of an item\n");

scanf("%d",&quantity);

if(id<9&&id>0){

if(quantity>0 && a[id]>0){

if(quantity<a[id])

int dec=a[id]-quantity;

a[id]=quantity;

totalCost=totalCost-(cost[id]*dec);

}
if(quantity>a[id])

int inc=quantity-a[id];

a[id]=quantity;

totalCost=totalCost+(cost[id]*inc);

if(quantity==a[id])

a[id]=quantity;

totalCost=totalCost+0;

else{

printf("Item has no Quantity.Please Try again\n");

else{

printf("Enter Valid id\n");

printf("Revised Items \n");


printf("Id\tItems\t\tQuantity\tCost\n");

for(i=0;i<9;i++)

if(a[i]!=0)

printf("%d\t%s\t%d\t\t%d\n",i,items[i],a[i],(cost[i]*a[i]));

printf("Total Cost\t\t\t\t\t%d\n",totalCost);

printf("If you wish to buy anything more Enter\n1 to Add Item\n2 to Delete Items\n3 to
Change Quantity \nAny other number to Exit\n");

scanf("%d",&c);

}while(c==1 || c==2 ||c==3);

printf("Your Final Cost is %d\n",totalCost);

printf("Thanks %s for Choosing Us and Visit us again.\n",str);

}
CHAPTER 5

SYSTEM TESTING

5.1 PROJECT TESTING

Testing is a series of different tests that whose primary purpose is to fully exercise the
computer based system. Although each test has a different purpose, all work should verify that
all system element have been properly integrated and performed allocated function. Testing is
the process of checking whether the developed system works according to the actual requirement
and objectives of the system. The philosophy behind testing is to find the errors. A good test is
one that has a high probability of finding an undiscovered error. A successful test is one that
uncovers the undiscovered error. Test cases are devised with this purpose in mind. A test case is
a set of data that the system will process as an input.

5.1.1 UNIT TESTING

Unit testing is a level of software testing where individual units/ components of a


software are tested. The purpose is to validate that each unit of the software performs as
designed. A unit is the smallest testable part of any software. It usually has one or a few inputs
and usually a single output.

5.2. INTEGRATION TESTING

Integration tests are designed to test integrated software components to determine if they
actually run as one program. Testing is event driven and is more concerned with the basic
outcome of screens or fields. The combination of components is correct and consistent.
Integration testing is specifically aimed at exposing the problems that arise from the combination
of components.In this testing the each and every module are linked together by using the data to
be transfer from one module field to another.

5.3. VALIDATION TESTING


Validation testing is the process of ensuring if the tested and developed software satisfies
the client /user needs. The business requirement logic or scenarios have to be tested in detail. All
the critical functionalities of an application must be tested here. The validation type of the user
are also added where the user can use only given number of range like phone number, card
number, PIN number and so on. The user can also use only registered formats where they cannot
add any type of data in the specified field.
CHAPTER 6

SYSTEM IMPLEMENTATION

6.1 SOFTWARE DEPLOYMENT

Step 1: Download Dev C++ from: http://www.bloodshed.net/dev/devcpp.html


Step 2: This is a 9 MB file approx.
Step 3: Double click the executable file.

Step 4: Start the installation by clicking Next button.

Step 5: Choose the destination folder and install it.

Step 6: Once the installation is complete, go to My Computer > Properties > Advanced System
Settings > Advanced Tab.

Step 7: Now click on "Environment variables" button > new.

Step 8: Change the system variable name as: PATH.

Step 9: Change the variable value as: C:\Dev-Cpp\bin;.

Step 10: Click OK and start Dev C++ to write the program.

6.2 SOFTWARE DEMONSTRATION


Dev-C++ is a free full-featured integrated development environment (IDE) distributed
under the GNU General Public License for programming in C and C++. It is written in Delphi. It
is bundled with, and uses, the MinGW or TDM-GCC 64bit port of the GCC as its compiler. An
additional aspect of Dev-C++ is its use of DevPaks: packaged extensions on the programming
environment with additional libraries, templates, and utilities. DevPaks often contain, but are not
limited to, GUI utilities, including popular toolkits such as GTK+, wxWidgets, and FLTK. Other
DevPaks include libraries for more advanced function use. Users of Dev-C++ can download
additional libraries, or packages of code that increase the scope and functionality of Dev-C++,
such as graphics, compression, animation, sound support and many more. Users can create
Devpaks and host them for free on the site. Also, they are not limited to use with Dev-C++ - the
site says "A typical devpak will work with any MinGW distribution (with any IDE for
MinGW)".

There are two forks of Dev-C++ since then: wxDev-C++ and the Orwell version.

wxDev-C++ is a development team that has taken Dev-C++ and added new features such as
support for multiple compilers and a RAD designer for wxWidgets applications.

On June 30, 2011 an unofficial version 4.9.9.3 of Dev-C++ was released by Orwell (Johan Mes),
an independent programmer,[3] featuring the more recent GCC 4.5.2 compiler, Windows' SDK
resources (Win32 and D3D), numerous bugfixes, and improved stability. On August 27, after
five years of officially being in a beta stage, version 5.0 was released.[4] This version also has its
own separate SourceForge[5] page since version 5.0.0.5, because the old developer isn't
responding to combining requests. On July 2014, Orwell Dev-C++ 5.7.1 was released featuring
the more recent GCC 4.8.1 which supports C++11.
CHAPTER 7

CONCLUSION

This application” BOUQUET MANAGEMENT SYSTEM” avoids the manual work


and the problems concern with it. It is an easy way to obtain the information regarding the
various products information that is present in the markets. This system is an improved
application better than the existing one’s regarding the information about the various activities.
Still, we found out that the project can be done in a better way. Primarily, when we request
information about particular details it shows all the relevant information. This project is a
computerized solution for storing the details of all related information in an organization and also
task assigned to an employee by an organization. Here, we can conclude that the application
been developed is to reduce manpower and various complexities.
CHAPTER 8

BIBLIOGRAPHY

BOOK REFERENCE

1.“THE VISUAL BASIC 6.0 PROGRAMMER’S REFERENCE” Author: Wayne.S.Freeze


Publisher: Tech Media Edition: II Editions 1998

2. “ VISUAL BASIC FROM THE GROUND UP” Author: Gary Cornell Publisher: Tata Mc
Graw-Hil Edition: 1998 Edition

3. “SYSTEM ANALYSIS AND DESIGN” Author: Ellis M.Awad Publisher: galgottia


publications pvt ltd Edition: II Edition

4. “DATABASE ANALYSIS AND DESIGN” Author: Ramakrishnan Publisher: Tata MC


Graw-Hil Edition: II

WEB REFERENCE

1. www.msdn.microsoft.com

2. www.vbcity.com

3. www.vbdotnetheaven.com
APPENDIX

You might also like