Write a program to calculate and print out water bills. The rates vary depending on whether the customer is a home user (code H), a commercial user (Code C) or an industrial user (Code I). No other code should be accepted. The rates are as follows: Code H: A flat $5.00 fee plus $0.0005 per gallon used. Code C: $1000 for the first 4 million gallons used plus $0.00025 for each additional gallon. Code I: $1000 for up to and including 4 million gallons; $2000 for more than 4 million gallons up to and including 10 million gallons; and $3000 for more than 10 million gallons. Inputs from the user are a four-digit account number (you don't need to error check this), the user code, and the number of gallons used. The valid user codes should be required and the number of gallons used should be equal to or greater than 0. The output should display all the input as well as the amount of the bill neatly with descriptive text. At minimum, the program should use separate subprograms for getting input, calculating the amount of the bill, and producing output Mostly this uses the Procedure, and loop.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
Delphi Pascal 6
## Deadline information
Need it by tomorrow Sunday, 13th