Advertisement
C_Volume2 Coding Standards #80976

[ [ [ Learn If statement ] ] ]

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

AI

AIサマリー: 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.

ソースコード
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
オリジナルのコメント (3)
Wayback Machineから復元