+1-415-670-9189
info@expertsmind.com
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

Average

  • 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
 
Minimize


Ask Question & Get Answers from Experts
Browse some more (C/C++ Programming) Materials
Finally, the company is required by its insurers to maintain a record of the position of each vessel; its port and date of departure, destination and estimated date of arriv
For this Programming Activity, you will write a GUI-based program checking for a Palindrome.Turn to Page 959 in your text.Complete Programming Activity 1: Checking for a Pa
Write a program that takes a positive integer from the user and prints the rightmost digit of that integer. This is a sample output: Enter an integer: 1247
The function fnUserBinaryInputX has 2 input arguments, each is a string. The first string is the "prompt" string displayed to the user when asked to enter a string. The seco
Write a program that uses the function isNumPalindrome given(Palindrome Number). Test your program on the following numbers: 10, 34, 22, 333, 678, 67876, 44444, and 12345432
In this assignment, you will ask the user to enter two coordinates (Lat1, Long1, Lat2, Long2) and you will calculate the distance in nautical miles using the formula above.
Write a recursive void function called rot at eLeft that rotates the first n integers in an array to the left. To rotate n items left, rotate the first n - 1 items left recu
Write a small program (specified below) that uses library calls to implement the specified functionality. This programming project is an individual assignment (i.e. you must e