1 Parameter: An array of strings. Return value: A list of the unique strings in the parameter array.
Write, test, and debug (if necessary) PHP scripts for the
specifications that follow write functions and the code to test
them.
1 Parameter: An array of strings.
Return value: A list of the unique strings in the parameter array.
2 Parameter: An array of numbers.
Return value: The average and median of the parameter array.
3 Parameter: An array of strings.
Return value: A list of the three strings that occur most
frequently in the parameter array
4 Write a PHP program to create class student with following
specification Data members: Name, Roll Num, Average Marks
Member functions: Read and Write
Use the above information to read and write information of two
students.
5 Parameter: A string containing words that are delimited on the
left with spaces and on the
right with spaces, commas, periods, or question marks.
Return value: The three most common words in the string that
have more than three letters
Step by step
Solved in 3 steps with 1 images