$max) { $secondMax = $max; $max = $number; } //If array number is greater than secondMax and less than max if($number > $secondMax && $number < $max) { $secondMax = $number; ...
Showing posts with label Php -Interview Question. Show all posts
Showing posts with label Php -Interview Question. Show all posts
02 January, 2021
PHP Code to Find Second Largest Number in an Array
Programing Coderfunda
January 02, 2021
Php -Interview Question
No comments