
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Example 3-1</title>
<script type="text/javascript">
	var x = 3+2*13/2;//variable x will be the answer to the evaluation. multiplication->division then addition.....26/2=13+3=16, now variable x is 16.
	var y = (3+2) * (13/2);//variable y ia the evaluation of 5*6.5=32.5. variable y is now 32.5.
	alert("x = " + x + " y = " +y);// alert x=16 y=32.5.  "x=" is a string data and is to be concatonated with the actual value of x, then "y=" is string data and is to be concatonated with the value of y.
	alert("z = " + (x+y));//"z=" is a string data and it is to concatonate with the value of x+y or 16+32.5. It will alert 48.5
</script>
</head>
<body>
</body>
