Question: The code doesn't work. Need to show the max number and minimum number. If type 0 then it's min and 9 is max. Please give
Lab 2 Given an array that has 5 float numbers, find the max and min numbers. Use "for" and "if/else" statements. (note: not 2 'for loops) Display the max number on serial monitor when '9' is typed in the serial monitor; and display the min number when '0' is typed. Display a warning message if any other number or letter is typed. IS Functions used: Serial.available, Serial.read, Serial.printlrn EMT2461 Dr. L
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
