Answered step by step
Verified Expert Solution
Link Copied!

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.,

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions