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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 18:00, abbygriffin2009
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
image
Computers and Technology, 23.06.2019 14:30, kodak0531
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
image
Computers and Technology, 23.06.2019 21:00, kkpsmith
Alcohol’s affects on the cornea and lens of the eye make it more difficult
Answers: 1
image
Computers and Technology, 24.06.2019 00:30, petergriffin6772
Which boolean operator enables you to exclude a search term? a} not b} and c} or d} plus
Answers: 1
You know the right answer?
Find the maximum value and minimum value in milesTracker. Assign the maximum value to maxMiles, and...

Questions in other subjects:

Konu
Mathematics, 20.09.2020 03:01
Konu
English, 20.09.2020 03:01
Konu
Mathematics, 20.09.2020 03:01