-
November 5th, 2009, 08:53 PM
#1
help with else if structure for a problem
Hey guys I'm working on a programming assignment and I was wondering how I would go about the else if structure for this:
1. A lawn mowing company requires a program to calculate its charges and produce a customer's bill.
Input a customer's name and the length and width of a lawn. Weekly charges are as follows
Lot Size Charge
Under 4000 square feet $25
4000 to 6000 square feet (inclusive) $30
Over 6000 square feet $40
The length of the lawn mowing season is 15 weeks.
Calculate and output the weekly mowing charge and the seasonal charge.
-
November 6th, 2009, 04:09 AM
#2
Re: help with else if structure for a problem
Please use code tags like this : [SIGPIC][/SIGPIC]
Code Your Dreams
-
November 6th, 2009, 06:09 AM
#3
Re: help with else if structure for a problem
Originally Posted by CodeMelon
Hey guys I'm working on a programming assignment and I was wondering how I would go about the else if structure for this
That's good, you should think about how to approach these things before writing any code.
When you come up with something, or you have any problems with it, post it here, and we'll try to help.
Learning how to learn is life's most important skill...
T. Buzan
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|