Ask the user for a list of grades, seperated by whitespace. The grade will be stored in a string called $input.
A. Split the string $input and create an array.
B. Use the foreach loop to get the total sum of all the grades.
C. Print the average.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment