Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PHP CODE QUESTION Thank You Your task is to finish the script below, its purpose being to print the sum and average of the values
PHP CODE QUESTION
Thank You
Your task is to finish the script below, its purpose being to print the sum and average of the values given. The values are given to the script as a single string, with the values themselves separated by comma (for example 4,2,5,2). The values are separated by turning it into an array using the explode() function. The script sho the values separated by spaces. Fill in only the missing lines, not the entire program! The program: Example output: The points were: 5 7 3 23 56 85 2 The sum of points: 181 Average of points: 25.857142857143Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started