Guys I hate to ask for help, but I caught this cold the other day and I cant think at all. I'm fighting the snot in my nose for control over my nostrils... snot's the lead :/
Anyway, I have to write this prog due Fri at 12. Here's the requirements. We just learned If/Then statements, so I'm pretty sure we'll have to use those in the prog. I dont necessarily need to have it all done and spoon fed to me, but I definitly do need some help with the basic outline of what should be done.
Write a program named estimate.vbs that follows these rules for estimating the cost of a house.
The base cost is $50 per square foot.
The base cost can very depending on how fancy the house is. Here are some adjustments to make.
A single story house costs an additional $10 per square foot to build (2 story houses are cheaper)
Add $10,000 to the total cost if there is a garage.
Add $2 per square foot if there are hardwood floors.
Add $5,000 to the total cost if there are custom kitchen cabinets.
Add $10 per square foot if the house has a basement instead of a crawl space.
Add $3,000 for each fireplace.
Your program should prompt for the necessary inputs and output a total cost.
Thanks for any input
Anyway, I have to write this prog due Fri at 12. Here's the requirements. We just learned If/Then statements, so I'm pretty sure we'll have to use those in the prog. I dont necessarily need to have it all done and spoon fed to me, but I definitly do need some help with the basic outline of what should be done.
Write a program named estimate.vbs that follows these rules for estimating the cost of a house.
The base cost is $50 per square foot.
The base cost can very depending on how fancy the house is. Here are some adjustments to make.
A single story house costs an additional $10 per square foot to build (2 story houses are cheaper)
Add $10,000 to the total cost if there is a garage.
Add $2 per square foot if there are hardwood floors.
Add $5,000 to the total cost if there are custom kitchen cabinets.
Add $10 per square foot if the house has a basement instead of a crawl space.
Add $3,000 for each fireplace.
Your program should prompt for the necessary inputs and output a total cost.
Thanks for any input
Comment