var rand1 = Math.floor(Math.random() * 101);
var rand2 = Math.floor(Math.random() * 101);
var rand3 = Math.floor(Math.random() * 101);
var max = Math.max(rand1, rand2, rand3);
document.write('<p>rand1: ' + rand1 + '</p>');
document.write('<p>rand2: ' + rand2 + '</p>');
document.write('<p>rand3: ' + rand3 + '</p>');
document.write('<p>一番大きい数値: ' + max + '</p>');
js_cc_02_practice_if_intermediate
---------------------------------
A [Pen](https://codepen.io/m-shinkawa/pen/YvyaJp) by [m-shinkawa](https://codepen.io/m-shinkawa) on [CodePen](https://codepen.io).
[License](https://codepen.io/m-shinkawa/pen/YvyaJp/license).