Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use quincy An engineer wishes to build a bridge on a river. A file contains information about soil density at different possible sites where the

Use quincy
image text in transcribed
An engineer wishes to build a bridge on a river. A file contains information about soil density at different possible sites where the bridge can be built. Write a program that reads the file and makes recommendations to build the bridge or not for each site. The possible recommendations are "Safe to build the bridge", "Acceptable to build but not the best choice" and "Unsafe to build". The criteria are as follows: If both sides have a soil density above 2.5, it is safe. If only one side is over 2.5 but the other side is above 2.0, then it is acceptable to build. If both sides are 2.5 or below then it is unsafe to build. It is also unsafe to build if one side is above 2.5 but the other side is at 2.0 or below. The file has this format: We do not know how many sites. Each site is indicated on one line. Each line has three numbers: The first number is an integer (the site number), the second number is a double (the soil density of the east side), the third number also a double (the soil density of the west side). You must create data files yourself to test your program (use Notepad or other text editor or use Quincy in ASCII text mode)

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

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

What is the difference between prior and posterior probabilities?

Answered: 1 week ago

Question

Explain the nature of human resource management.

Answered: 1 week ago

Question

Write a note on Quality circles.

Answered: 1 week ago

Question

Describe how to measure the quality of work life.

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago