Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,121 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,757 people online right now. Registration is fast and FREE... Join Now!




Account and Billing Application

 
Reply to this topicStart new topic

Account and Billing Application

makgn
16 Apr, 2007 - 10:57 AM
Post #1

New D.I.C Head
*

Joined: 16 Apr, 2007
Posts: 3


My Contributions
Program Statement
Write a program that will calculate and print bills for Dallas Water Utilities. Water and sewer rates vary, depending on the size of the meter and water usage. Any meter size other than what is listed should be treated as an error. In addition a Sanitation Fee of $20.41 and a Storm Water Fee of $5.80 are added to the bill. The water rates are computed based on the tables below and come from the following website. http://www.dallascityhall.com/html/water_billing_rates.html

Meter Size Base Water Charge Base Sewer Charge
0.625 3.61 3.23
0.75 4.23 3.78
1.0 6.14 5.49

Residential Water per Gallon Sewer per Gallon
Up to 4000 gallons 0.00141 0.00372
4001 to 10000 0.00231 0.00372
10001 to 15000 0.00320 0.00372
Above 15000 0.00370 0.00372

Your program should prompt the user to enter the account number (a string), the meter size and the number of gallons of water used. Your program should print the account number, the number of gallons used, the total water charge, the total sewer charge, and the total amount of the bill. (Don’t forget to include the Sanitation Fee and the Storm Water Fee.)


User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Account And Billing Application
16 Apr, 2007 - 11:25 AM
Post #2

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,226



Thanked: 37 times
Dream Kudos: 25
My Contributions
Hi,

The site has a policy by which we prefer to see a good faith effort on the part of the user before providing source code in the matter of academic assignments. If you would care to post the code you've written in an attempt to resolve the assignment, our members would be pleased to offer some guidance.

Thanks.
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: Account And Billing Application
16 Apr, 2007 - 11:25 AM
Post #3

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 14,931



Thanked: 47 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
Great assignment. So what do you want us to do with it?
User is online!Profile CardPM
+Quote Post

makgn
RE: Account And Billing Application
17 Apr, 2007 - 04:30 PM
Post #4

New D.I.C Head
*

Joined: 16 Apr, 2007
Posts: 3


My Contributions
QUOTE(skyhawk133 @ 16 Apr, 2007 - 12:25 PM) *

Great assignment. So what do you want us to do with it?


Hey skyhak133, suggest what you thing is needed in such assignment

the question ask is to used the value - defining function but its looks confusing to me because of using $ symbol and its kind of hard to figutre it out.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 10:08PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month