Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please provide the code using C, as that is the language we are learning. Table 1. Concrete grades, mix ratios, and compressive strengths. *Aggregate, e.g.,
Please provide the code using C, as that is the language we are learning.
Table 1. Concrete grades, mix ratios, and compressive strengths. *Aggregate, e.g., stone You have been tasked to design and implement a program that does the following: 1. (2 points) Print a welcome message to introduce the system. 2. (5 points) Prompt the user for the grade of concrete that is needed (i.e., M5, M7.5, M10, M10, M15, M20, or M25). 3. (5 points) Prompt the user for which measurement system to use (i.e., Imperial or Metric). Note that feet and pounds are part of the Imperial system, and meters and kilograms are part of the Metric system. 4. (5 points) Prompt the user for the weight of cement that the user has available. Note that cements are sold in bags by weight. 5. (25 points) Compute the volumes of sand and aggregates needed to produce the userspecified grade of concrete given the amount of cement. Note that the concrete mix ratios are all in terms of volumes. Thus, one would need to convert the amount of cement in terms of weight to an amount of cement in terms of volume. To do the conversion, use the density of cement: 1440kg/m3 or 89.90lbs/ft3. 6. (5 points) Compute the total volume combining all three ingredients. 7. (10 points) Print all the volumes to the screen together with detailed information, including also the grade of concrete specified (i.e., M5, M7.5, M10, M10, M15, M20, or M25) and also the correct units (i.e., kgs or Ibs, cubic meters or cubic feet)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