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 Minimum Number</title>
    </head>
    <body>
    <p id = "demo"></p>
    <script>
    function findMin(){
    var min = Infinity;
    for(i=0; i<arguments.length; i++){
    if(arguments[i]<min){
    min = arguments[i];
    }
    }
    return min;
    }
    document.getElementById("demo").innerHTML = findMin(100, 400, 90, 2, 4000, 500);
    </script>
    </body>
    </html>