Question
Note: I want a screenshot of the running program that will be work right and I need a PHP code for this problem. Xone Creative
Note: I want a screenshot of the running program that will be work right and I need a PHP code for this problem.
Xone Creative School has conducted an online test of science subjects for its Fifth Standard students. A total of five students out of 30 students of the class have participated in that test. Now higher authorities of the school want to find out the list of the students who have scored the highest marks in the test.
Now being a PHP developer, your task is to develop a webpage that will display the list of the student marks in descending order (Highest marks will be displayed at the top followed by the second-highest marks up to the lowest marks respectively)
The marks that the students obtained in the test are 62, 56,99,61,79.
The data must be displayed in a tabular form as given below:
Student Marks |
99 |
79 |
62 |
61 |
56 |
HINT: (Use arrays and loops to implement this functionality)
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