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 using namespace std; int main( ) { const int num_rows = 2; const int num_cols = 2; int milestracker[num_rows][num_cols]; int i = 0; int j = 0; int maxmiles = -99; // assign with first element in milestracker before loop int minmiles = -99; // assign with first element in milestracker before loop milestracker[0][0] = -10; milestracker[0][1] = 20; milestracker[1][0] = 30; milestracker[1][1] = 40; /* your solution goes here */ cout < < "min miles: " < < minmiles < < endl; cout < < "max miles: " < < maxmiles < < endl; }

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 20:00
What software programs are used to to create professional publication? a.) graphics programs b.) word processors c.) page layout programs d.) spreadsheet programs
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
Which type of excel chart should be used to track students’ progress on test grades? line column bar pie
Answers: 2
question
Computers and Technology, 24.06.2019 22:10
In command prompt, whats a command that will list only .ini files in c: \windows\system32 directory?
Answers: 1
question
Computers and Technology, 25.06.2019 04:00
Use the wrap text icon to modify which graphic appears in the front of layered images modify the picture effects change the way text is wrapped around an object apply wordart to the text
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
English, 12.11.2020 20:40
question
Mathematics, 12.11.2020 20:40
Questions on the website: 13722362