Question
Inputs Length of road project (miles) Number of lanes Depth of asphalt (inches) Days to complete project Outputs 1. Truckloads of Asphalt 2. Stoplights 3.
Inputs
- Length of road project (miles)
- Number of lanes
- Depth of asphalt (inches)
- Days to complete project
Outputs
1. Truckloads of Asphalt 2. Stoplights
3. Conduit Pipes
4. Crew members
5. Cost of Asphalt
6. Cost of Stoplights
7. Cost of Conduit Pipes 8. Cost of Labor
9. Total Cost
- data typedouble- data typeint
- data typeint
- data typeint
- rounded up
- rounded up - rounded up
Other Details
Rosie's Road Co. is a new construction company. They are interested in bidding on new highway construction projects around the city. They've hired you to develop a software tool that they will use to help determine material needs and costs.
Road development is not only the asphalt you see - water and power conduits must be installed at the same time, and we have to account for things like labor costs and how long it will take to acomplete particular project.
The city is very regular grid, with one 4-way intersection at each mile of road. When asking for a quote, the city sends out the number of linear miles of road, and how many total lanes (1 to 8).
Here's some information that you might find useful as you complete this challenge.
CSE110 Principles of ProgrammingAssignment 02::100 pts
- The trucks hauling asphalt have a maximum capacity of 5 US tons (10,000 lbs)
- The standard road lane is 12 feet wide.
- Asphalt weighs 150 lbs per cubic foot
- Asphalt costs $200 per ton
- Power and water utilities are run in a conduit pipe under the road as part of all road projects
- Conduit pipe is available only in 24 ft. lengths - each length costs $500
- There is one intersection for every mile of road
- a. a 1 mile road has 1 intersection
- b. a 2 mile road has 2 intersections
- c. a 2.99 mile road has 2 intersections
- Stoplights cost $25,000 per light
- Each intersection has two stoplights, plus one additional stoplight for each lane
- a. a 1 lane road has three stop lights at each intersection b. a 2 lane road has four stop lights at each intersection c. a 3 lane road has five stop lights at each intersection
- Work days are 8-hour days
- All workers are paid $25 per hour.
- Crew members can complete an amount of work in a specified time according to the equation below:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started