SlideShare una empresa de Scribd logo
1 de 2
Descargar para leer sin conexión
Introduction: Water conservation is one of the most pertinent issues in preserving our
environment. We can do many things to ensure that we do not use more than we need to. Ten
ways to save water at home are outlined on the following website:
https://www.americanrivers.org/rivers/discover-your-river/top-10-ways-for-you-to-save-water-
athome/#: :text=There%20are%20a%20few%20simple,shower% 20
head%20and%20faucet%20aerato rs. To play their part, Water Utility Companies charge
different amounts per gallon depending on the consumption. The customers will save money if
they save water - that is good additional motivation! A simplified method that a company would
use to calculate the billed amount will be implemented in this project assignment. Problem
Definition: 1. The program will compute and display information for a utility company which
supplies water to its customers. For a specified customer, the program will compute and display
the amount of money which the customer will be billed for water usage during the current billing
period. 2. The program will prompt the user to enter three values (in the following order): a. The
customer's code (a character)using a string 'Enter customer code (R, C, or l):' b. The customer's
beginning meter reading (a positive integer value), using a string 'Enter beginning reading
(between 0 and 999999999 ):' c. The customer's ending meter reading (a positive integer value)
using a string 'Enter ending reading (between 0 and 999999999 ) ): 3. Validate: i. The program is
required to check the customer's code immediately after the user provides the input value.
Recognize upper case only letters for customer codes (" R ", " C ", and " "I"). Any letter that is
not defined as a code, input is considered an invalid input. If the code is not acceptable, print
'Invalid input (customer code)' and finish the program. Do not ask for other inputs. ii. If the
customer's code is correct, the user should proceed to input both the start and end readings. The
program is required to check the user-supplied start and end reading immediately after both input
values are read. Validate that both values are within the range [ 0 , 999999999 ] . Any value
outside this range is considered invalid. If any of the values for the readings are invalid, print
'Invalid input fbeginning or ending reading value is out of the range)' and finish the program. Do
not ask the user to try again or perform any computation. 4. The program will compute the
gallons of water used by the customer during the current billing period. The meter is read by a
representative of the utility company at the start and at the end of the billing period, and the
readings are taken from a meter which has nine digits and records tenths of a galion. 5. The
program will compute the amount of money that the customer will be billed, based on the
customer's code and water usage, using the following information. Code 'r' (residential]; $5.00
plus $0.0005 per gallon used Code 'c' (commercial): $1000.00 for 4 million gallons or less, and
$0.00025 for each additional gallon used Code 'in (industrial); $1000.00 if usage does not exceed
4 milion Rallons; $2000.00 if usage exceeds 4 million gallons but does not exceed 10 million
gallons; and $2000.00 plus $0.00025 for each additional gallon if usage exceeds 10 million
gallons. 6. For each run, the program will display a summary with the following information: a.
The customer's code b. The customer's beginning meter reading c. The customer's ending meter
reading d. The gallons of water used by the customer e. The amount of money billed to the
customer 7. validation and extra requirements: a. Recognize upper case letters for customer
codes ( " R , C and 1 ) . b. Display all meter readings as nine-digit numbers (with leading
zeroes). hint: observe the output of this statement. Modify and use to match the requirements
print(" { : 0 > 4 } n . format ( 5 } ) c. The amount of money billed to a customer should be
displayed as a monetary value. Meaning, it should be displayed with a dollar sign and two
fractional digits ffor example, $125 , 00 or $43.87 ) d. The program is required to check the
customer's code and the user-supplied meter readings for errors. report these errors -only, do not
ask the user to try again-invalid user inputs-just output an invalid message with zero as the value
to be outputted at the end of the code -assuming we performed calculations- i. Any letter that is
not defined as a code in the problem. ii. values outside the range 0 to 999999999 Please Note: 1.
The meter's dial has nine digits and records tenths of a gallon. For example, assuming that the
beginning reading was 444400003 and the ending reading was 444400135 , then the customer
used 13.2 gallons of water during the billing period. 2. Since the meter's dial only has nine digits,
the reading at the end of the billing period may be less than the reading at the beginning of the
billing period. For example, assuming that the beginning reading was 999999997 and the ending
reading was 000000005 , then the customer used 0.8 gallons of water during the billing period. 3.
Please note that the user should always enter three items (code and two meter readings), even if
the first meter reading is invalid. Sample Output Red-input, Blue output Sample run1: Enter
customer code ( R 1 , C , or 1):0 Invalid input (customer code) Or for the invalid code you can
output the following Enter customer code (R, C, or I): T Beginning meter reading (between 0 and
999999999 ): 999999997 Ending meter reading (between 0 and 999999999 ): 000000005 Invalid
Entry Gallans of water used: 0.0 Amount billed: $0 , 00 Sample run2: Enter customer codte (R,
C, or 1): R Beginning meter reading (between 0 and 999999999 ): 444400003 Ending meter
reading (between 0 and 999999999 ): 444400135 Customer code: R Beginning meter reading:
444400003 Ending meter reading: 444400135 Gollons of water used: 13.2 Amount billed: $5.01
Sample run3: Enter customer code (R, C, or l): C Beginning meter reading (between 0 and
999999999 ): 999999997 Ending meter reading (between 0 and 999999999 ); 000000005
Customer code: C Beginning meter reading: 999999997 Ending meter reading: 000000005
Gallons of water used: 0.8 Amount billed: $1000.00 Process finished with exit code 0 Sample
run4: Enter customer code (R, C, or I): C Beginning meter reading (between 0 and 999999999 ):
999999997 fnding meter reading (between 0 and 999999999 ) 000000005

Más contenido relacionado

Similar a Introduction- Water conservation is one of the most pertinent issues i (1).pdf

Similar a Introduction- Water conservation is one of the most pertinent issues i (1).pdf (11)

Fico interview questions set 3
Fico interview questions set 3Fico interview questions set 3
Fico interview questions set 3
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Refunds to Customer.doc
Refunds to Customer.docRefunds to Customer.doc
Refunds to Customer.doc
 
Customer Statement and Customer Overdue Payments Reports Odoo
Customer Statement and Customer Overdue Payments Reports OdooCustomer Statement and Customer Overdue Payments Reports Odoo
Customer Statement and Customer Overdue Payments Reports Odoo
 
Inventory acount group
Inventory acount groupInventory acount group
Inventory acount group
 
Fico interview questions set 16
Fico interview questions set 16Fico interview questions set 16
Fico interview questions set 16
 
Paper id 24201495
Paper id 24201495Paper id 24201495
Paper id 24201495
 
Systems imlementation for Kasetsart University
Systems imlementation for Kasetsart University Systems imlementation for Kasetsart University
Systems imlementation for Kasetsart University
 
Sap fi accounting_entries_in_detail_10_g
Sap fi accounting_entries_in_detail_10_gSap fi accounting_entries_in_detail_10_g
Sap fi accounting_entries_in_detail_10_g
 
Fico interview questions set 8
Fico interview questions set 8Fico interview questions set 8
Fico interview questions set 8
 
Fico interview questions set 5
Fico interview questions set 5Fico interview questions set 5
Fico interview questions set 5
 

Más de vishalateen

it's complete and photos are in seqy characters- now 280 characters)-.pdf
it's complete and photos are in seqy characters- now 280 characters)-.pdfit's complete and photos are in seqy characters- now 280 characters)-.pdf
it's complete and photos are in seqy characters- now 280 characters)-.pdf
vishalateen
 
Issues about the Tax 3- Core Issue(s) Based on the strategic analysis.pdf
Issues about the Tax  3- Core Issue(s) Based on the strategic analysis.pdfIssues about the Tax  3- Core Issue(s) Based on the strategic analysis.pdf
Issues about the Tax 3- Core Issue(s) Based on the strategic analysis.pdf
vishalateen
 
is a decentralized routing approach that is used when there are multip.pdf
is a decentralized routing approach that is used when there are multip.pdfis a decentralized routing approach that is used when there are multip.pdf
is a decentralized routing approach that is used when there are multip.pdf
vishalateen
 
Ironically- small-box retailers like Dollar General owe their growth t (1).pdf
Ironically- small-box retailers like Dollar General owe their growth t (1).pdfIronically- small-box retailers like Dollar General owe their growth t (1).pdf
Ironically- small-box retailers like Dollar General owe their growth t (1).pdf
vishalateen
 

Más de vishalateen (20)

Iy current wealth is $500 and I have exponential utility- There are tw.pdf
Iy current wealth is $500 and I have exponential utility- There are tw.pdfIy current wealth is $500 and I have exponential utility- There are tw.pdf
Iy current wealth is $500 and I have exponential utility- There are tw.pdf
 
its annual payments going to be- How much relief does this provide Del.pdf
its annual payments going to be- How much relief does this provide Del.pdfits annual payments going to be- How much relief does this provide Del.pdf
its annual payments going to be- How much relief does this provide Del.pdf
 
it's complete and photos are in seqy characters- now 280 characters)-.pdf
it's complete and photos are in seqy characters- now 280 characters)-.pdfit's complete and photos are in seqy characters- now 280 characters)-.pdf
it's complete and photos are in seqy characters- now 280 characters)-.pdf
 
It is very important to label the left and right side of the heart cor.pdf
It is very important to label the left and right side of the heart cor.pdfIt is very important to label the left and right side of the heart cor.pdf
It is very important to label the left and right side of the heart cor.pdf
 
It is required to perform factor analysis using SAS on this data 9.pdf
It is required to perform factor analysis using SAS on this data    9.pdfIt is required to perform factor analysis using SAS on this data    9.pdf
It is required to perform factor analysis using SAS on this data 9.pdf
 
IT Infrastructure Architecture Infrastructure Building Blocks and Conc (1).pdf
IT Infrastructure Architecture Infrastructure Building Blocks and Conc (1).pdfIT Infrastructure Architecture Infrastructure Building Blocks and Conc (1).pdf
IT Infrastructure Architecture Infrastructure Building Blocks and Conc (1).pdf
 
It is a very important criterion for the existence of a valid contract.pdf
It is a very important criterion for the existence of a valid contract.pdfIt is a very important criterion for the existence of a valid contract.pdf
It is a very important criterion for the existence of a valid contract.pdf
 
istannad Fer dadt fimn of the citece mid cyt in-During the conyersion.pdf
istannad Fer dadt fimn of the citece mid cyt in-During the conyersion.pdfistannad Fer dadt fimn of the citece mid cyt in-During the conyersion.pdf
istannad Fer dadt fimn of the citece mid cyt in-During the conyersion.pdf
 
Issues about the Tax 3- Core Issue(s) Based on the strategic analysis.pdf
Issues about the Tax  3- Core Issue(s) Based on the strategic analysis.pdfIssues about the Tax  3- Core Issue(s) Based on the strategic analysis.pdf
Issues about the Tax 3- Core Issue(s) Based on the strategic analysis.pdf
 
is used for media access control in Wi-Fi networks- A) Contention B) C.pdf
is used for media access control in Wi-Fi networks- A) Contention B) C.pdfis used for media access control in Wi-Fi networks- A) Contention B) C.pdf
is used for media access control in Wi-Fi networks- A) Contention B) C.pdf
 
Is this correct- Positive tests in the fermentation tests turned the t.pdf
Is this correct- Positive tests in the fermentation tests turned the t.pdfIs this correct- Positive tests in the fermentation tests turned the t.pdf
Is this correct- Positive tests in the fermentation tests turned the t.pdf
 
Is there an extinction threat to snow leopards - If so- what is causin.pdf
Is there an extinction threat to snow leopards - If so- what is causin.pdfIs there an extinction threat to snow leopards - If so- what is causin.pdf
Is there an extinction threat to snow leopards - If so- what is causin.pdf
 
is the protocol used to communicate over the internet- TCPAP WAN LN VP.pdf
is the protocol used to communicate over the internet- TCPAP WAN LN VP.pdfis the protocol used to communicate over the internet- TCPAP WAN LN VP.pdf
is the protocol used to communicate over the internet- TCPAP WAN LN VP.pdf
 
is senstivi A plant manager considers the operational cost per hour of.pdf
is senstivi A plant manager considers the operational cost per hour of.pdfis senstivi A plant manager considers the operational cost per hour of.pdf
is senstivi A plant manager considers the operational cost per hour of.pdf
 
is there a linux command that allows me to see all the directories tha.pdf
is there a linux command that allows me to see all the directories tha.pdfis there a linux command that allows me to see all the directories tha.pdf
is there a linux command that allows me to see all the directories tha.pdf
 
Is Fraser Mercantile Bank a Ltd Liability Company have a separate Lega.pdf
Is Fraser Mercantile Bank a Ltd Liability Company have a separate Lega.pdfIs Fraser Mercantile Bank a Ltd Liability Company have a separate Lega.pdf
Is Fraser Mercantile Bank a Ltd Liability Company have a separate Lega.pdf
 
is a concept where the derived class acquires the attributes of its ba.pdf
is a concept where the derived class acquires the attributes of its ba.pdfis a concept where the derived class acquires the attributes of its ba.pdf
is a concept where the derived class acquires the attributes of its ba.pdf
 
is a decentralized routing approach that is used when there are multip.pdf
is a decentralized routing approach that is used when there are multip.pdfis a decentralized routing approach that is used when there are multip.pdf
is a decentralized routing approach that is used when there are multip.pdf
 
IQ scores are normally distributed with a mean score of 100 and a stan.pdf
IQ scores are normally distributed with a mean score of 100 and a stan.pdfIQ scores are normally distributed with a mean score of 100 and a stan.pdf
IQ scores are normally distributed with a mean score of 100 and a stan.pdf
 
Ironically- small-box retailers like Dollar General owe their growth t (1).pdf
Ironically- small-box retailers like Dollar General owe their growth t (1).pdfIronically- small-box retailers like Dollar General owe their growth t (1).pdf
Ironically- small-box retailers like Dollar General owe their growth t (1).pdf
 

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Último (20)

Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Introduction- Water conservation is one of the most pertinent issues i (1).pdf

  • 1. Introduction: Water conservation is one of the most pertinent issues in preserving our environment. We can do many things to ensure that we do not use more than we need to. Ten ways to save water at home are outlined on the following website: https://www.americanrivers.org/rivers/discover-your-river/top-10-ways-for-you-to-save-water- athome/#: :text=There%20are%20a%20few%20simple,shower% 20 head%20and%20faucet%20aerato rs. To play their part, Water Utility Companies charge different amounts per gallon depending on the consumption. The customers will save money if they save water - that is good additional motivation! A simplified method that a company would use to calculate the billed amount will be implemented in this project assignment. Problem Definition: 1. The program will compute and display information for a utility company which supplies water to its customers. For a specified customer, the program will compute and display the amount of money which the customer will be billed for water usage during the current billing period. 2. The program will prompt the user to enter three values (in the following order): a. The customer's code (a character)using a string 'Enter customer code (R, C, or l):' b. The customer's beginning meter reading (a positive integer value), using a string 'Enter beginning reading (between 0 and 999999999 ):' c. The customer's ending meter reading (a positive integer value) using a string 'Enter ending reading (between 0 and 999999999 ) ): 3. Validate: i. The program is required to check the customer's code immediately after the user provides the input value. Recognize upper case only letters for customer codes (" R ", " C ", and " "I"). Any letter that is not defined as a code, input is considered an invalid input. If the code is not acceptable, print 'Invalid input (customer code)' and finish the program. Do not ask for other inputs. ii. If the customer's code is correct, the user should proceed to input both the start and end readings. The program is required to check the user-supplied start and end reading immediately after both input values are read. Validate that both values are within the range [ 0 , 999999999 ] . Any value outside this range is considered invalid. If any of the values for the readings are invalid, print 'Invalid input fbeginning or ending reading value is out of the range)' and finish the program. Do not ask the user to try again or perform any computation. 4. The program will compute the gallons of water used by the customer during the current billing period. The meter is read by a representative of the utility company at the start and at the end of the billing period, and the readings are taken from a meter which has nine digits and records tenths of a galion. 5. The program will compute the amount of money that the customer will be billed, based on the customer's code and water usage, using the following information. Code 'r' (residential]; $5.00 plus $0.0005 per gallon used Code 'c' (commercial): $1000.00 for 4 million gallons or less, and $0.00025 for each additional gallon used Code 'in (industrial); $1000.00 if usage does not exceed 4 milion Rallons; $2000.00 if usage exceeds 4 million gallons but does not exceed 10 million gallons; and $2000.00 plus $0.00025 for each additional gallon if usage exceeds 10 million gallons. 6. For each run, the program will display a summary with the following information: a. The customer's code b. The customer's beginning meter reading c. The customer's ending meter reading d. The gallons of water used by the customer e. The amount of money billed to the customer 7. validation and extra requirements: a. Recognize upper case letters for customer codes ( " R , C and 1 ) . b. Display all meter readings as nine-digit numbers (with leading zeroes). hint: observe the output of this statement. Modify and use to match the requirements print(" { : 0 > 4 } n . format ( 5 } ) c. The amount of money billed to a customer should be displayed as a monetary value. Meaning, it should be displayed with a dollar sign and two fractional digits ffor example, $125 , 00 or $43.87 ) d. The program is required to check the customer's code and the user-supplied meter readings for errors. report these errors -only, do not
  • 2. ask the user to try again-invalid user inputs-just output an invalid message with zero as the value to be outputted at the end of the code -assuming we performed calculations- i. Any letter that is not defined as a code in the problem. ii. values outside the range 0 to 999999999 Please Note: 1. The meter's dial has nine digits and records tenths of a gallon. For example, assuming that the beginning reading was 444400003 and the ending reading was 444400135 , then the customer used 13.2 gallons of water during the billing period. 2. Since the meter's dial only has nine digits, the reading at the end of the billing period may be less than the reading at the beginning of the billing period. For example, assuming that the beginning reading was 999999997 and the ending reading was 000000005 , then the customer used 0.8 gallons of water during the billing period. 3. Please note that the user should always enter three items (code and two meter readings), even if the first meter reading is invalid. Sample Output Red-input, Blue output Sample run1: Enter customer code ( R 1 , C , or 1):0 Invalid input (customer code) Or for the invalid code you can output the following Enter customer code (R, C, or I): T Beginning meter reading (between 0 and 999999999 ): 999999997 Ending meter reading (between 0 and 999999999 ): 000000005 Invalid Entry Gallans of water used: 0.0 Amount billed: $0 , 00 Sample run2: Enter customer codte (R, C, or 1): R Beginning meter reading (between 0 and 999999999 ): 444400003 Ending meter reading (between 0 and 999999999 ): 444400135 Customer code: R Beginning meter reading: 444400003 Ending meter reading: 444400135 Gollons of water used: 13.2 Amount billed: $5.01 Sample run3: Enter customer code (R, C, or l): C Beginning meter reading (between 0 and 999999999 ): 999999997 Ending meter reading (between 0 and 999999999 ); 000000005 Customer code: C Beginning meter reading: 999999997 Ending meter reading: 000000005 Gallons of water used: 0.8 Amount billed: $1000.00 Process finished with exit code 0 Sample run4: Enter customer code (R, C, or I): C Beginning meter reading (between 0 and 999999999 ): 999999997 fnding meter reading (between 0 and 999999999 ) 000000005