Question: it done in php xampp html 4. Write a PHP program by declaring array of 10 numbers. Find the sum of those and return whether
4. Write a PHP program by declaring array of 10 numbers. Find the sum of those and return whether its odd or even Print the Input, sum, (even or Odd) Print like below Input 1: arr = [1,2,3,4,5,6,7,8,9,10] Output 1: Sum=55, Odd 5. Create text file with "Hello my name is {yourname)". a. Write a PHP program to read from file and show the output in echo. b. After reading from the file write this statement ("Hello my lastname is lastname}") to the file and then close the file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
