Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please: i do not want repeat answer (i want new idea) thanks Question-1 [25 marks] Consider the incomplete PHP code above, and then add for
please: i do not want repeat answer (i want new idea)
thanks
Question-1 [25 marks] 111, "StName" => "Ahmad", "Quizl" => 7, "Quiz2" => 9, "Qui z3" => 6), array("SEID" => 222, "StName" => "Sali", "Quizl" => 8, "Quiz2" => 5, "Quiz3" => 7), array("SEID" => 333, "StName" => "Leen", "Quizl" => 9, "Quiz2" => 6, "Quiz3" => 4), array("SEID" => 444, "StName" => "Sami", "Quizl" => 6, "Quiz2" => 7, "Quiz3" => 8), array ("StID" => 555, "StName" => "Dalal", "Quizl" => 5, "Quiz2" => 7, "Quiz3" => 9)); ?> Consider the incomplete PHP code above, and then add for it the following three parts. Part-I creates five one-dimensional arrays, and fills them with the data held by the previous multi-dimensional association array in the PHP code above. [9 marks] Part-Il computes the average of each student in the three quizzes, and then prints the id, name and the average for each student. You should use PHP loops and the one- dimensional arrays that you created in part-I for solving this part. (8 marks] Part-Ill computes and prints the average of each quiz. You should use PHP loops and the one-dimensional arrays that you created in part-1 for solving this part. [8 marks]Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started