Question: How to make the program on Simple C in Geany Station #: Name: Programming problem: This program is simply an improvement over Assignment 8. The
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
Get step-by-step solutions from verified subject matter experts
