JSFiddle - React, Tailwind, and code Playground
by fristyr
JavaScript
let test = () => {
let firstNum = prompt("Ваше первое число?" , "");
let secondNum = prompt("Ваше второе число?" , "");
let thirdNum = prompt("Ваше третье число?" , "");
let maxNum = Math.max(firstNum, secondNum, thirdNum);
alert( 'Максимально число: ' + maxNum );
}
test();