Question
Consider int marks[3][5] is an array that holds the five quiz marks of a class of 3 students. a) Write a program to find out
Consider int marks[3][5] is an array that holds the five quiz marks of a class of 3 students. a) Write a program to find out how many students have got more than 40 in at least two quizzes. b) Print the sum of the best four quiz marks of each of the student c) Finally, print the highest of such total marks as obtained in (b) Procedure: Try to write the PHP code by using a 2-dimensional array structure. Try to understand the problem by seeing the sample input/output given above. Sample Input: Input the numbers of students: . 10 20 70 80 90 100 99 98 97 96 10 20 30 40 50 Sample Output: a. 2 b. 160 394 140 C. 394
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