SWAT My Welcome Of Doom to you!!!
  Javascript Actionscript Blog
 

<script>
//highOrLow
//David Fang
//Demonstrates the if-/-else structure
var temp = 0;
var perfectTemp = 110;
temp = Math.floor(Math.random() * 200) + 1;
alert("It's " + temp + " degrees outside. ");
if (temp < perfectTemp) {
alert("It's Freezing like a llama!!");
} else {
alert("It's Freaking hot like Las Vegas!!");
} // end if
</script>

 

 

Links

1. SLHS

2. SLHSXC

3. JMMS

Contact me

Class links

Computer Science

Five Classmates

1. Julio Maravilla

2. Norman Duong

3. Huy Vo

4. Titus Green

5. Jack Li

Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Miscellaneous
 
Home Product Contact order