Question: cis 210 Introduction to C++ Programming (Fall 2017) Assignment-4 Points: 100 Due Date: 4/17/2017 (beginning of class Specifications: (D. Etter and J. Ingber. Engineering Problem
cis 210 Introduction to C++ Programming (Fall 2017) Assignment-4 Points: 100 Due Date: 4/17/2017 (beginning of class Specifications: (D. Etter and J. Ingber. "Engineering Problem solving with C++. Person, 2012 together after an injury or an 1. Sutures are strands or fibers used to sew living issue operation. Packages of sutures must be sealed carefully before they are shipped to hospitals so that contaminants cannot enter the packages. The object that seals the package is referred to as a sealing die. For the sealing process to be a success the sealing die is maintained at an established temperature and must contact the package with a predetermined pressure for an established time period. The period in which the sealing die contracts the package is called the dwell time. Assume that the acceptable range of parameters for an acceptable seal are the following: Temperature: 150-170 degrees C (inclusive) Pressure: 60-70 psi (inclusive) Dwell time: 2-2.5 seconds (inclusive) A data file named suture.dat contains information on batches of sutures that have been rejected. Each line in the file contains the batch number, temperature, pressure, and dwell time for a rejected batch. Write a C++ program to analyze this data and output a report that contains the following information: Percent of batches rejected due to temperature Percent of batches rejected due to pressure Percent of batches rejected due to dwell time All valid batches mistakenly included in the file NOTE: It is possible that a specific batch may have been rejected for more than one reason. 2. Make sure to use meaningful variable names and proper line spacing. 3. Include as comments in your program your name and a brief description of the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
