// show results
// Analysis
document.writeln("min: " + min + "<br>");
document.writeln("difRed: " + difRed + "<br>");
document.writeln("difGreen: " + difGreen + "<br>");
document.writeln("difBlue: " + difBlue + "<p>");
document.writeln("steps: " + steps + "<br>");
document.writeln("Rsteps: " + Rsteps + "<br>");
document.writeln("Gsteps: " + Gsteps + "<br>");
document.writeln("Bsteps: " + Bsteps + "<p>");
This section of code prints the variable to the screen, followed by its value. Some of the other sections
of code that tested functions allowed for multiple tests, but this one does not. Therefore, this section of
code can remain unchanged, but the intial variables should be tested with all the values that are
appropriate to ensure that the code works correctly.