Develop a software application using C programming language for water billing system
ECP1016 Computer and Program Design
Tri-1 2021/2022
FEC 2: PROJECT
(3 to 4 students per group)
Water Billing System in C Language
The aim of this project is to develop a software application using C programming language for water
billing system in Malacca.
Requirements:
1. The application should be able to generate a report on the water charges of all the customers.
(Please refer to the Water Tariff Table below)
2. It should be possible to print the water bill for a specific customer upon request.
3. The data should be stored in three files in a secondary storage device.
a. The customer details such as Name, customer segment code (1 for Domestic; 2 for commercial;
3 for Government Department; 4 for Place of worship; 5 for Ship; 6 for Charitable Organisation;
71 for Condominium; 72 for Low-cost flat and 8 for Army camp) and their water meter number.
b. The previous month reading along with the water meter number.
c. Current month reading along with the water meter number.
Note: The data files should contain at least ONE sample from each customer segment.
4. Array of structures are to be used to store the data read from the file.
5. Dynamic memory allocation has to be used to allocate memory for the array of structures.
6. It should be menu driven and user-friendly.
7. Need to use a user-defined function to calculate the charges for the water consumption of each customer.
8. Tariff Rates given in the table below should be used for the calculation. The Water Tariff is charged
based on the volume of water consumed. Please note that the minimum charge is imposed if the usage is
less than the actual water usage except in the Ship category.
9. A neat project report should be prepared including the following contents and submitted online on or
before 20th November 2021.
1) Report cover page.
2) Index page.
3) Aim of the project.
4) Algorithm to implement the project.
5) Source code.
6) Sample output with screenshots.
7) Conclusion.
Sample Data file: Customer Details
Customer Segment Meter
Name Code Number
Lily 1 1001
Raja 2 1002
Lim 3 1003
Sample Data file: Previous month reading
Meter Meter
Number Reading
1001 2900
1002 3000
1003 7500
Sample Data file: Current month reading
Meter Meter
Number Reading
1001 2925
1002 3300
1003 7789
Sample output 1: (Report on the water charges of all the customers)
Sample output 2: (Water Bill for Meter number 1001)
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of