1 / 4
Computer Service
2 / 4
Networking Service
3 / 4
Web Development Service
4 / 4
Software Development Service
TNW - ICT Solutions
  • Home
  • Available Courses 
  • Available Services 
  • Website Samples 
  • Search Log In
  • <html>
    <head>
    <title>Finding The Maximum Number</title>
    </head>
    <body>
    <p id = "demo"></p>
    <script>
    function findMax(){
    var max = - Infinity;
    for(i = 0; i < arguments.length; i++){
    if(arguments[i] > max){
    max = arguments[i];
    }
    }
    return max;
    }
    document.getElementById("demo").innerHTML = findMax(900, 80, 200, 1000, 490);
    </script>
    </body>
    </html>