subject

Find the maximum value and minimum value in milesTracker. Assign the maximum value to maxMiles, and the minimum value to minMiles. Sample output for the given program:Min miles: -10Max miles: 40#include int main(void) {const int NUM_ROWS = 2;const int NUM_COLS = 2;int milesTracker[NUM_ROWS][NUM_COLS];in t i;int j;int maxMiles = -99; // Assign with first element in milesTracker before loopint minMiles = -99; // Assign with first element in milesTracker before loopmilesTracker[0][0] = -10;milesTracker[0][1] = 20;milesTracker[1][0] = 30;milesTracker[1][1] = 40;/* Your solution goes here */printf("Min miles: %d\n", minMiles);printf("Max miles: %d\n", maxMiles);return 0;}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
Idon understand these and need some ! ?
Answers: 2
question
Computers and Technology, 22.06.2019 10:00
You need a reliable network for about twenty-five computers that will be distributed across a large building. it is important that the network be relatively cheap. which topology should you use?
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When using a public computer or network, you should always
Answers: 2
question
Computers and Technology, 23.06.2019 00:00
How do we use the sumif formula (when dealing with different formats) ?
Answers: 1
You know the right answer?
Find the maximum value and minimum value in milesTracker. Assign the maximum value to maxMiles, and...
Questions
question
Mathematics, 31.07.2021 03:40
Questions on the website: 13722359