Question: Problem Specification You are asked to write a C program that reads contents of an input buffer, processes the read data, and stores the results
Problem Specification You are asked to write a C program that reads contents of an input buffer, processes the read data, and stores the results in an output buffer. Each of actions is these performed by a different function. Additionally, this m should also generate data and put it in the input buffer (you are simulating a process of filling out an input buffer with data) In reality, a program you are about to write runs in an infinite loop constantly checking, processing, and outputting data. However, to make it simpler and doable the user will control how many loops of reading an input buffer should execute, i.e., the program should ask the user after each loop if he/she wants to continue A very simple flowchart of the program is shown besides. Pre-lab task: l. Develop a detailed flowchart using this one as a starting point. 2. Execute (manually) the algorithm. Please submit the PRE LAB Cpdf file) with the results of the task 2 (execution of the algorithm) using eClass. The deadline is the noon of the lab day of your section (e.g., for Section H32, the deadline is Mar st 12:00PM). YES set up: input buffer output buffer generate data points read data from input buffer perform one of four processing functions write results to output buffer more cycles NO STOP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
