12th board I.T. PHP SOP4

 

12th board I.T. PHP SOP4 Solution

PHP SOP4.php

<?php

$marks=array(82,88,91,89,83);

$total=0;

$i=0;

echo "<b>Marks in English: " .$marks[0] .",<br>Marks in Physics ".$marks[1].",<br>Marks in Chemistry ".$marks[2].",<br>Marks in Information Technology ".$marks[3].",<br>Marks in Maths ".$marks[4] .".";


for($i=0;$i=count($marks);$i++)

{

$total=$total+$marks[$i];

}

$per=$total*100/500;

echo "<br> Total Marks Obtained by student: $total";

echo "<br> Percentage Obtained is: $per";

?>

INFORMATION :-  SAVE AS PHP FILE.

Tags :-
12th I.T SOP solution,
12th I.T SOP,
12th I.T chapter 3 SOP solution,
12th I.T PHP SOP 4,
12th I.T SOP 4 PHP,
12th I.T SOP 4

Post a Comment

0 Comments