Question: Write a PHP program that will do the following: Define a variable x and assign its value to 5 ; and then test If x
Write a PHP program that will do the following:
Define a variable x and assign its value to ; and then test If x is even, print to the browser x is even number otherwise, print x is odd number Try different values for x to test your code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
