Semester 3 pog

This commit is contained in:
2023-08-16 17:31:33 -05:00
parent 2dc89a3b93
commit a33c99cbd2
1558 changed files with 439 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<html>
<head>
<title>Example 7.1</title>
<script>
function quotient(x,y)
{
illegal = "Illegal division operation";
if (y != 0)
return x/y;
else
return illegal;
}
function clickIt()
{
document.write(quotient(60, 5));
}
</script>
</head>
<body>
<input type ="button" onclick="clickIt()" value = "How much is 60 divided by 5?"></button>
</body>
</html>