What\'s wrong here? When your run this program you get an error message <!-- <ht
ID: 3734672 • Letter: W
Question
What's wrong here? When your run this program you get an error message
<!--
<html>
<head>
<title>Wage Report</title>
</head>
<body>
<h1>WAGE REPORT</h1>
<?php
$hourlyWage = 15.75;
$hourWorked = 19;
$wage = $hourlyWage * $hoursWorked;
print("<p>Your hourly wage is $ $hourlyWage and you worked
$hoursWorked hours.</p>");
print("<p>Your wages are $ $wage.</p>");
?>
</body>
</html>
-->
Explanation / Answer
//if you have any query then comment below.please rate the answer
<html>
<head>
<title>Wage Report</title>
</head>
<body>
<h1>WAGE REPORT</h1>
<?php
$hourlyWage = 15.75;
$hoursWorked = 19;
$wage = $hourlyWage * $hoursWorked;
print("<p>Your hourly wage is $ ".$hourlyWage." and you worked ".$hoursWorked." hours.</p>");
print("<p>Your wages are $ ".$wage.".</p>");
?>
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.