Maintenance Cost and Operational Cost
Enter values in 2 one-dimensional real positive N-place arrays (N = known). The 1st table contains values for the cost of operating a machine tool for each of its N weeks of operation (with weekly numbers from 1 to N) while the 2nd maintenance cost, respectively. At the time of import, all necessary checks are made to ensure that the values entered are positive or zero.
The program, in C language:
1. find and display the number of weeks at a cost greater than a given known LIMIT value.
2. Create a new table listing weekly weeks with a maintenance cost below the N weeks average maintenance cost.
3. will display the contents of the new table.