Write the code required to analyse and display the data
Course:- C/C++ Programming
Reference No.:- EM13254

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> C/C++ Programming

Using an appropriate C syntax, write the code required to analyse and display the data as per the problem description.

The order of the C Program should be as follows:

Variables and constants

  • Use #define statements to define the constants
  • Use arrays to store the data, average values, average map and counts

Read Data

  • Read each individual data item from the file using an appropriate method into a two dimensional array
  • Close the file when finished


  • Calculate and store the average for each row and column.
  • Determine and store the values for the Average Map
  • Calculate the counts for each row and column in the Average Map where the value is 1, 0 or -1
  • Display the Average Map and counts
  • Develop a method to identify if any count for a row or column results in rejecting the sheet of material
  • Search and report if the sheet is defective

NOTE : Ensure you use appropriate and efficient use of variables and constants in your design.  I may wish to change the symbols used to reflect the outcome of  #,*,$ instead of 1,0,-1 and as a consequence I should only change this in one cell to reflect the change throughout the code.

Put your comment

Ask Question & Get Answers from Experts
Browse some more (C/C++ Programming) Materials
The program should allow the user via a menu to add an item to the list, clear the list, and display the list. You may assume that the list will never need to contain more t
In C++, write a program that simulates inventory bins in a warehouse. Each bin holds a number of the same type of parts. The program should use a structure that keeps the fo
Write a sequence of instructions that transfers data from memory to an external I/O device by using channel 3 of the 8237 DMA controller. Transfer from 20000H-20FFFH.
Definite versus Indefinite Loops- Describe one (1) scenario not mentioned in the textbook in which it would be advantageous for you to use a definite loop as opposed to an i
Write a C - program that asks the user to enter the number of miles traveled and the number of gallons of gasoline consumed. It should then calculate and display the miles-per
Write a program that converts a number from Roman numerals to decimal. It needs to consist of a class, romanType. And object type of the type romanType should do the followi
Part 1: What are some limitations of Digital subscriber line (DSL) technology? Part 2: What are some examples of improvements of asymmetric digital subscriber line 2 (ADSL2) b
Write in C++ another overloaded operator to go in the program that has Treasury. Overload the forward slash /  so that in the main program, you can declare sale to be of type