DAY 4 PHP PROGRAMMING
http://php.flashwebhost.com/tom/if_greater.php
Code:<?php $passMark = '35'; $studentName = 'Tom'; $studentMark = '60'; if ($studentMark>$passMark) { echo 'Congratulations '. $studentName . ' ! You passed exam with ' . $studentMark . ' marks.'; }
Bookmarks