Bahavior was good.
Cooperation was good.
Effort was bad.


<!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>Assignment038</title>
</head>

<body>
<?php
//These are variables to hold the ratings
$behavior "good";
$attention "bad";
$cooperation 9.5;
$effort "bad";
$enthusiasm 8.5;


//Here are the if statements and comparison conditions to rate them
if ($behavior!="bad"//not equal to
{
print(
"Bahavior was good.<br>");
}

if (
$attention == "good"//equal to
{
print(
"Attention was good.<br>");
}

if (
$cooperation >=9//greater than or equal to
{
print(
"Cooperation was good. <br>");
}

if (
$effort==="bad"//identical to (including data type)
{
print(
"Effort was bad. <br>");
}

if (
$enthusiasm <7//less than
{
print(
"Enthusiasm was bad. <br>");
}

print 
show_source("Assignment038.php");
?>
</body>
</html>
1