Write a PHP script to display five highest Marks.
"Sara" => array(
"Programming" => 95,
"DataBase" => 85,
"Web" => 74,
),
"Diana" => array(
"Programming" => 78,
"DataBase" => 98,
"Web" => 66,
),
"Amy" => array(
"Programming" => 88,
"DataBase" => 76,
"Web" => 99,
),
);
// 1 : sort the array by the name of student from A-Z;
// 2 : search if Ram is exist :
// if exiset print the value; else : student does not exist
// 3 : calculate the avg of each student and print it as :
//the avg for Sara is : 84.66
?>
Q3:
print "Second", and "Red" from the following array:
$color = array ( "color" => array ( "a" => "Red", "b" => "Green", "c" => "White"),
"numbers" => array ( 1, 2, 3, 4, 5, 6 ),
"holes" => array ( "First", "Second", "Third"));