Print.php
<!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>PHP</title>
</head>
<body>
<?php
//Interest Calculation
define("INTEREST_RATE", .17);
$money1=255000.00;
$money2=25000.00;
$money3=199000.00;
$money4=57000.00;
//Calculate the annual interest amounts for each balance
$annualinterest1 = $money1*INTEREST_RATE;
$annualinterest2 = $money2*INTEREST_RATE;
$annualinterest3 = $money3*INTEREST_RATE;
$annualinterest4 = $money4*INTEREST_RATE;
//Display browser output
print("The annual interest on your first balance of ".$money1);
print(" is ". $annualinterest1). " dollars.";
print("<br><br>");
print("The annual interest on your second balance of ".$money2);
print(" is ". $annualinterest2). " dollars.";
print("<br><br>");
print("The annual interest on your third balance1 of ".$money3);
print(" is ". $annualinterest3). " dollars.";
print("<br><br>");
print("The annual interest on your fourth balance of ".$money4);
print(" is ". $annualinterest4). " dollars.";
print("<br><br>");
?>
</body>
</html>