Vous êtes sur la page 1sur 11

CONTACT MANAGEMENT

Chapter 1

Introduction
Mini Project in C CONTACT bill management is a simple console application. It is similar
to the contact manager in cell phones. In this project, you can add, view, edit, search and
delete contacts. All added and edited records are saved in a file. By this application you
can list contacts by name, phone no, address and email. we have used data structure to store
the user name, email and contact. File handling has been used to record all data. Overall,
understanding the simple source code of this project will teach you how to add, edit, search,
list and remove data using file. The program development process includes three important
stages, namely, program design, program coding and program testing. All the three stages
contribute to the production of high quality program.

In “CONTACT BILL MANAGEMENT” we have done system design, source coding, and
program testing and added many more features to facilitate the user with the best. We have
given the user the facility to enter the person’s record and providing the option to save and
delete that record and many more options.

1.1 Motivation of project

We can improve the efficiency of the system, thus overcome the drawbacks of the
existing system.
· Less human error
· Strength and strain of manual labour can be reduced
· High security
· Data consistency
· Easy to handle
· Easy data updating
· Easy record keeping
· Backup data can be easily general

Dept. of ISE, NHCE Page 1


CONTACT MANAGEMENT

1.2 Problem Statement


“To design and implement a Contact bill Management System to store complete
information under single contact number.”

Dept. of ISE, NHCE Page 2


CONTACT MANAGEMENT

Chapter 2
System requirements:
2.1 Hardware System used:

 Processor - Intel Core i5

 Speed - 1.8 GHz

 RAM - 256 MB (min)

 Hard Disk - 10 GB

2.2 Software System used:

 Operating system: Fedora or Red hat.

 Programming language: C language.

 Complier: C compiler.

Dept. of ISE, NHCE Page 3


CONTACT MANAGEMENT

Chapter 3:

Materials and Methods


3.1 System Design:
The concept is to develop a program which deals with the combination of structures, arrays,
pointers and other functions. This program could do some operations on arrays such as
insertion, deletion, sorting, searching, exit.

By implementing this program we can execute the inserted contact data, deletion of the
data, searching, updating, append, exit with numbers by using arrays and file pointers. This
program is implemented for only numbers that can enter into an array. To do this analysis
manually it takes a lot of time and patience but by implementing this program using a high
level language like C it becomes much easier. But before going to make final solution for
the problem, the problem must be analysed.

This program is solved by using several methods like one can solve this program using user
defined functions concept, loops conditions, go to statements. In this abstract we used the
concept of functions, while loop, for loop, switch case and if condition’s which helps to
execute the problem much easier .The following steps are followed while implementing the
given program using if and while loop.

The input is entered i.e., the value of choice (the menu no) select the particular menu.
 Next it goes to particular menu and then goto the particular function.
 It prints the resultant value which came from the execution.

The outcome of the work is one can get the required changes like inserting or deleting or
sorting or merging or append or retrieve or update or exit for a given array.

Structures
We have seen that arrays can be used to represent a group of data items that belongs
to same data type. If we want to represent a collection of data items of different data types
using a single name, then we cannot use an array. C supports a constructed data type known
as structure, which is a method for packing data of different data types. A structure is a
convenient tool for handling a group of logically related data items. Structure is a user
defined data type which consists of primitive data types. Structures help to organize
complex data in a more meaningful way. It is a powerful concept that we may often need
to Use in our program design.

Dept. of ISE, NHCE Page 4


CONTACT MANAGEMENT

Definition:
A group of data items that belongs to different data types is known as Structure.

‘Struct’ : It is a keyword and is used to declare a Structure.

Declaration of structure:
structstruct_name

Data item-1;

Data item-2;

…………

…………

Data item-n;

};

Declaration of structure variable:


structstruct_name identifier;

(or)

structstruct_name dentifier-1,identifier-2,.......,identifier-n;

(Access operator):
It is used to access the data items of a structure with the help of structure variable.

Syntax:
struct_variable . Data item;

AIM:

Dept. of ISE, NHCE Page 5


CONTACT MANAGEMENT

• To develop a “Phonebook contact” application using c programming.

• This program is very useful now-a-days to store complete information under single
contact number.

• This program also has options to deletion and modification of the entered contact
number.

Advantages:
• It becomes easy for the user to store complete information (Mobile number, bill
amount e.t.c) about his contact.

• It is easy for the user to just search his required contact number by just typing
name of the contact .

Disadvantages:
• Sometimes it becomes difficult to store information for more users. (over 150).

Future Enhancements:-
 It becomes even difficult to store contacts with two or more contact numbers

3.2 Architecture [Flow Diagram]

Dept. of ISE, NHCE Page 6


CONTACT MANAGEMENT

Dept. of ISE, NHCE Page 7


CONTACT MANAGEMENT

3.3 Algorithm
1. Step 1: Start.

2. Step 2:Display the options on the screen.


3. Step 3:Read name, address, father name, mother name, mobile number,
gender.
4. Step 4:Print “WELCOME TO TELEPHONE SUBSCRIBER
MANAGEMENT SYSTEM” and “Menu” on the screen

a. Add user – insertsubscriber()


b. Display user – traversebeg()
c. Search user – search()
d. Delete record – deleterecord()

5. Step 5:insertsubscriber() function accepts data from the user and adds it to
the linked list.
6. Step 6:traversebeg(),

a. Print your record: name, mobile number, bill amount


b. After all these print enter any key

7. Step 7: search(),

a. if data is insufficient print no data


b. else
c. print enter name of contact to be searched and print detail
information about name and name, mobile num, bill amount.

8. Step 8: deleterecord(), deletes a record by phone number


9. Step 9: End
10.

Dept. of ISE, NHCE Page 8


CONTACT MANAGEMENT

3.5 Output Snapshot

Dept. of ISE, NHCE Page 9


CONTACT MANAGEMENT

Dept. of ISE, NHCE Page 10


CONTACT MANAGEMENT

Chapter 4:

Significance of result and conclusion:

The developed system provides the controller a system which can predicts the most
efficient way in which the inbound flights can be landed and the outbound flight can be
taken off. This helps the controller a lot in peak hours when there are a lot incoming flights
to land. This system is also helpful in eradicating the human errors which also avoids
accidents.

References:

DATA STRUCTURES AND ALGORITHMS by PADMA REDDY.

DATA STRUCTURES AND ALGORITHMS MADE EASY : SECOND


EDITION by NARASIMHA KARUMANCHI.

Dept. of ISE, NHCE Page 11

Vous aimerez peut-être aussi