예제 #1
0
파일: cl.php 프로젝트: sangeetha-93/php
</html>
<?php 
    }
}
$a = new student();
$a->semester1();
$a->total();
echo "semesterI";
$b = new student();
$b->semester2();
$b->total();
echo "<br>";
echo "semesterII";
$c = new student();
$c->semester3();
$c->total();
echo "<br>";
echo "semesterIII";
$d = new student();
$d->semester4();
$d->total();
echo "<br>";
echo "semesterIV";
?>