Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need some programming help
#1
my program wont calculate my stuff. this is what i have to do:

This is a Q-basic project. This is worth 25 points and is due Feb 28th. You are being asked to write a program that will calculate the cost to paint the outside of a house. We will assume a rectangular house shape. Your program should read in the customer name, house dimensions, number of doors and number of windows. Doors and windows will not be painted. Assume a painter can paint 150 square feet per hour and a gallon of paint can cover 250 square feet. Figure into the cost an extra 15% for paint for waste and for painting trim. The painter makes $23.00 per hour plus an extra $700 for prep work and paint costs $18.75 per gallon. Don’t forget sales tax. Print out the customer name, total cost and number of gallons of paint used. All doors are 7 feet high and 3 feet wide and all windows are 5 feet high and 2.5 feet wide. You must use a loop. Run your program with the following data:

House 1 – 2 walls 30 feet long by 28 feet high, 2 walls 20 feet long by 28 feet high, 2 doors and 12 windows.

House 2 – 2 walls 43 feet long by 31 feet high, 2 walls 28 feet long by 31 feet high, 3 doors and 15 windows.

House 3- 2 walls 52 feet long by 34 feet high, 2 walls 32 feet long by 34 feet high, 4 doors and 18 windows.



can any1 help???
Reply
#2
LOL thats quite a problem you have there, where do you go to school, anyways?
Reply
#3
Show us what you've got so we know how to help you, we won't
do your homework for you, but well help you when we know what
part you're stuck on...
/post]
Reply
#4
Have you started to program it yet?
Yes - show us what you have.
No - I suggest you work out the calculations with pencil and paper before atempting to program it.
*****
Reply
#5
That's one of the best problems for students I've ever seen.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)