Question: EGR 125 Introduction to Engineering Methods (C++ Programming) File: N125PIB Programming Assignment #1 Calculation of Natural Gas BilI Background Monthly natural gas billing amounts for

 EGR 125 Introduction to Engineering Methods (C++ Programming) File: N125PIB Programming

Assignment #1 Calculation of Natural Gas BilI Background Monthly natural gas billing

amounts for a certain city are calculated using various quantities and rates

EGR 125 Introduction to Engineering Methods (C++ Programming) File: N125PIB Programming Assignment #1 Calculation of Natural Gas BilI Background Monthly natural gas billing amounts for a certain city are calculated using various quantities and rates which are available on the billing statement. Several related terms and charges are defined below 8.00 (this fee is charged regardless of the energy usage) Basic Charge Number of days in the billing period Final Date Initial Date (from 26 to 35 days) Initial meter reading, Final meter reading 5 digit meter readings in CCF (100 cubic feet) Gas Used Final meter reading Initial meter reading (add 100000 if negative) - see note below Gas Cost(Up to 35 CCF of gas used) (37.744/CCF) cost for up to 35 CCF - (Gas used over 35 CCF) (34.858/CCF) cost for the amount used over 35 CCE Utility Tax Late Penalty Average Daily $2.40 (this fee is charged regardless of the energy usage) -1.5% of the previous month's bill (before taxes) if it was paid late Cost Bill Amount before taxes and not including late penalties Number of days in the billing period Note: the reading on the meter displays 5 digits, so the meter counts 99998, 99999, 00000, etc. So if the final meter reading is less than the initial reading (or if the Gas Used is negative), 100000 must be added Initial Date: May 7 Final Date: June Previous month's Bill: $42.67 (paid late) Initial meter reading - 01699 CCF Final meter reading 01772 CCF Gas Used- Final meter reading- Initial meter reading 01772-01699 73 CCF Cost summary: Basic Charge $8.00 $34.46 64 Subtotal Late Payment Charge ($42.67 (0.015) Total Current Charges Average daily cost ($34.46 29 days) 40 $1.19

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!