Make your own free website on Tripod.com
Hello

Welcome to my page!

Javascript

 
Links

Many Temperatures

 

<script>
//Many Temps
//Julio Maravilla Oct 2, 2007

var temp;
temp=Math.floor(Math.random() * 100) + 1;
alert ("It's " + temp + " degrees outside. ");

if (temp < 70)
{
if(temp< 30)
{
alert("Wear a jacket!");
}
else
{
alert("Wear a sweater!!");
}
}

else
{
if(temp>85)
{
alert("Wear a bathing suit!!")
}

else
{alert("Wear short sleeves =D");
}
}
</script>

 

 

Links

Contact me

Favorite links

Computer Science

Five Classmates