View Single Post
  #1 (permalink)  
Old November 4th, 2005, 09:53 PM
DweeLer DweeLer is offline
Registered User
 
Join Date: Nov 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to DweeLer
Default Water Bill Homework

I need help with this damn program. Its suppose to be like a water bill for commercial and home use. Home is 5.00+.0005 per gal and the commercial is 1000.00 (for 4 million gallons) and .00025 for every gallon after. The program prompts the user to enter a "C" or "H" for type of water bill, then how many gallons used, and it calculates and tell you how much the bill will be. If any other character is entered, it is suppose to return an error.

no matter what letter i enter, after i enter the gallons, it returns an error. Im getting owned by my own program. Someone help please.

the files are on my site, listed below.

http://www.bradh.net/jacob/prog

Reply With Quote