Advertisement
2_2002-2004 Coding Standards #126667

[ [ [ Learn If statement ] ] ]

You will learn the if statement. Very easy to understand! Vote for me!

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
<script language="javascript">
var age=prompt("How old are u?");
if (age < 10)
{
document.write("Your not old enough to view material on this website, sorry.");
}
if (age > 10)
{
document.write("You are old enough to view contents on this webpage!");
}
else
{
document.write("You didnt write anything!");
}
</script>

Upload
Original Comments (3)
Recovered from Wayback Machine