Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write a c code for the following statement As a Software Developer, you are tasked by an international construction company that designs bridges, overhead walkways
write a c code for the following statement
As a Software Developer, you are tasked by an international construction company that
designs bridges, overhead walkways and gantries, to develop a Linear Thermal
Expansion Calculator program. When a bridge or overhead walkway is constructed, the
Engineer must consider that the material used in the construction will expand or
contract in response to temperature variations. Failure to take the material
expansioncontraction into account could potentially lead to severe damage to these
structures, and endanger the safety of the public.
To solve this problem, the engineer needs to determine by how much the length of the
structure will change, and build in a safety factor. The total length of the bridge must be
taken into consideration when determining the expansion length, then allowance
should be made for this movement by including expansion joints gaps over the total
length of the bridge.
Since different construction materials expand and contract at different rates to a
temperature change, a linear expansion coefficient is introduced which has been
determined for various materials. Steel and concrete have the same coefficient
CTECS which is
and aluminium has a coefficient CTEA of
The
coefficient values are constant. The constant identifier names are shown above in
parentheses.
This multifunction program must give the user the opportunity to select the desired
calculation via a menu. This menu will allow the user to select either a single calculation
or generate an expansion table. Once the user has selected their option, the program
will test for a valid user input. If the input is valid, then it will ask the user to enter
certain parameters and the material used before proceeding to the next stage of the
program. Should the users input be invalid, the program will not ask the user to enter
these parameters and will proceed to the next stage. The next stage determines what
further action should be taken based on the users initial selection.
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