Question: PHP Function Given three String arguments, return the String that alphabetically precedes or is equal to the other two string arguments firstOf3Strings(a, b, c) returns
PHP Function
Given three String arguments, return the String that alphabetically precedes or is equal to the other two string arguments firstOf3Strings("a", "b", "c") returns "a" firstOf3Strings("X", "b", "c") returns "X" firstOf3Strings("123", "1232", "123 0") returns "123"
function firstOf3Strings($a, $b, $c) { return; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
