Write a PHP script to find the maximum and minimum marks from the following set of arrays. Sample arrays: $marks1 = arra

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Write a PHP script to find the maximum and minimum marks from the following set of arrays. Sample arrays: $marks1 = arra

Post by answerhappygod »

Write a PHP script to find the maximum and minimum marks fromthe following set of arrays.
Sample arrays:
$marks1 = array(360,310,310,330,313,375,456,111,256);
$marks2 = array(350,340,356,330,321);
$marks3 = array(630,340,570,635,434,255,298);
Sample Output:
Maximum marks : 635
Minimum marks : 111
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply