Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2 Sutures: Sutures are strands or fibers used to sew living tissue together after an injury or an operation. Packages of sutures must be

Problem 2 Sutures: Sutures are strands or fibers used to sew living tissue together after an injury or an operation. Packages of sutures must be sealed carefully before they are shipped to hospitals to prevent contamination. The packages are sealed on a machine with a sealing die. For the sealing to be a success, the die must be maintained at an established temperature, and contact the package with a predetermined pressure for an established time period. This time period is called the dwell time. The acceptable ranges for these three conditions are as follows:

Temperature: 150-170 C

Pressure: 60-70 psi

Dwell Time: 2-2.5 sec

Write a C++ program that reads a data file (from disk) containing data on batches of rejected sutures, the data is shown below. Each line of the file contains a batch number, temperature, pressure and dwell time for a batch. As the Quality Control Engineer, you need to analyze the data and compute the percent of batches rejected due to temperature, percent rejected due to pressure and percent rejected due to dwell time. If a specific batch was rejected in more than one category, it should be counted in all of the applicable totals. Write the output to a file. This output file will have your team name or names, and the results in terms of percent of failures in each category, the total numbers in each category and the total number of batches rejected.

Your input file* contains the following data:

24551 145.5 62.3 2.13

24582 153.7 63.0 2.52

26553 160.4 58.8 2.51

26613 159.5 58.9 2.02

26624 160.5 61.5 1.98

27725 170.9 62.5 2.03

27832 147.8 65.6 2.12

27976 155.4 71.0 2.34

28061 162.7 57.9 2.61

28251 171.3 59.2 2.23

28347 164.8 65.0 2.45

28782 152.8 58.6 2.05

28788 167.2 67.3 1.89

29192 149.6 60.9 2.26

29227 172.0 67.8 2.33

29482 155.2 73.1 2.47

29522 148.5 72.1 2.27

29617 168.3 49.7 2.63

29785 169.4 64.4 1.87

29885 146.6 55.9 2.42

29943 170.3 66.8 2.31

29957 166.3 56.8 2.11

29968 162.8 64.6 2.68

29987 149.2 69.7 2.22

Please show full C++ source codes, screen print of output 5 and correct results using sutures input file .

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_2

Step: 3

blur-text-image_3

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

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions

Question

Write the equation for the statement of owner's equity.

Answered: 1 week ago

Question

2. How will the team select a leader?

Answered: 1 week ago