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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!