Question: hello dont know what im doing wrong C++ Find the maximum value and minimum value in miles Tracker. Assign the maximum value to maxMiles, and

Find the maximum value and minimum value in miles Tracker. Assign the maximum value to maxMiles, and the minimum value to minMiles. Ex. If the input is: 10203040 the output is: Min miles: 10 Max miles: 4 (Notes) Code writing challenge activity demo Find the maximum value and minimum value in miles Tracker. Assign the maximum value to maxMiles, and the minimum value to minMiles. Ex. If the input is: 10203040 the output is: Min miles: 10 Max miles: 40 (Notes) Codewriting challenge activity deme 11 int minMiles = 8; // Assign with first element in milestracker before loop int value; for (1=0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
