Question: Course : Internet and Web programming Please answer this question within 30minutes I will like ur answers. Create following function in PHP : b) Create
Course : Internet and Web programming Please answer this question within 30minutes I will like ur answers.
Create following function in PHP :

b) Create a function totalCalc. The function takes a file name and a line number as input. The file contains one or more numbers in each line of the file. If the line contains more than one number then they are separated by a space. The totalCalc function should read the numbers in the line and print the sum of all the numbers in the line. If there is only one number then that number is printed. (3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
