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
Write a program that uses the VanderWaals equation of state and the perfect gas law to display in tabular form the relationship between the pressure and the volume of n mole
Prepare a new int[] variable and inititialize it to be a new int array with the given size to create random values use the random class import javautil.random inside the met
Your deliverables will require the highest level of professionalism. All of your deliverables should be presented as if your customers are paying you $225 per hour plus expe
Create a global array of structures with the following data. Each structure should store the data (Employee Table - Name, age, salary information) . Array size must be at le
Jackson, even-numbered Chapter Exercises, pp. 335-337. Explain the difference between multiple independent variables and multiple levels of independent variables. Which is bet
You are to write a basic bank application, in C++, that allows the user of the application to manually create, modify, and delete bank accounts. Before you write the applicati
If the input value within the valid range, the program will display a "good score" message; otherwise, the program will display an error message and then terminate the progr
Write a program to find the area of a circle. The program should use two procedures. The first procedure will print out the program heading and ask the user to enter the rad