http://php.flashwebhost.com/annie/if...reater_bug.php
Code:<?php $passScore = 210; $studentName = 'Mike'; $studentScore = 190; if ($studentScore > $passScore) { echo 'Congratulations' . $studentName . 'You passed the exam with' . $studentMark . 'mark.'; } else { echo 'Passing Score is' . $passScore . '.Your Score is' . $studentScore ; echo '<br>'; echo 'Sorry You did not pass the exam. Good luck and Cheers next time. '; }




Reply With Quote

Bookmarks