function setup() {
createCanvas(450, 230);
}
function draw() {
background(220);
let u = max(1, 3);
let v = max(1, 1);
let w = max(5, 9);
let x = max(2, 3.9);
let y = max(1.5, 3.2);
let arr = [1, 5, 3, 8, 6, 9];
let z = max(arr);
textSize(16);
fill(color('red'));
text("Maximum value between (1, 3) is: " + u, 50, 30);
text("Maximum value between (1, 1) is: " + v, 50, 50);
text("Maximum value between (5, 9) is: " + w, 50, 70);
text("Maximum value between (2, 3.9) is: " + x, 50, 90);
text("Maximum value between (1.5, 3.2) is: " + y, 50, 110);
text("Maximum value in an array is: " + z, 50, 130);
}