标签:判断 int asc col head 三元运算符 har script 三元
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> </body> </html> <script type="text/javascript"> var a = parseInt(prompt("请输入数值")); var b = parseInt(prompt("请输入数值")); var c = parseInt(prompt("请输入数值")); var d = (a>b?(a>c?a:c):(b>c?b:c)) alert(d); </script>
标签:判断 int asc col head 三元运算符 har script 三元
原文地址:https://www.cnblogs.com/hankai2735/p/8760977.html