1 / 3
amogtech
2 / 3
mhk
3 / 3
ccg


<html>
<head>
<title>Total Result of the Numbers</title>
</head>
<body>
<p id = "demo"></p>
<script>
function findTotal(){
var total = 0;
for(i=0; i<arguments.length; i++){
total += arguments[i];
}
return total;
}
document.getElementById("demo").innerHTML = findTotal(20, 90, 40, 50, 98, 73);
</script>
</body>
</html>


Share On: