Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How to make the program on Simple C in Geany Station #: Name: Programming problem: This program is simply an improvement over Assignment 8. The

How to make the program on Simple C in Geany image text in transcribed
Station #: Name: Programming problem: This program is simply an improvement over Assignment 8. The program will keep track of both good and bad (too small and too large) parts and ONLY STOP once the end of the fil e is found. Like #8 a ball bearing is classified sfaulty if its diameter is less than 196 mm or greater than 2.04 mm. The program will also keep track of the average bearing diameter 1. Reads data from a file until the end of the file is found. 2. Reports the size and number of the bearing read in for each bearing value in the file. 3. Reports the number of good, bad, and total bearings after reading in each bearing size (e.g. within the loop). ALSO reports the average diameter of the bearings examined. After the end of the file is found (e.g. loop stops /stops reading in sizes) 4. a. Reports the total number of bearings, the number of good bearings, the number of bad bearings, and the average bearing diameter for the batch as each bearing size is read into the program (each iteration). After reading in all of the bearings the program reports: b. i. Total number of bearings read. ii. Percentage of good ball bearings in the sample. ili. Percentage of bad ball bearings in the sample iv. Average ball bearing diameter for the sample. s. Includes comments throughout the program describing what's happening. Q1: Create a FLOW CHART for this program. Be sure to include the start, end, flow directions, data input& output, and decisions (including loops) Start o h Geary

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

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions

Question

What is the unit of analysis?

Answered: 1 week ago

Question

=+ (b) Show that X ,, - p X if and only if d( X ,, X) ->0.

Answered: 1 week ago