Question: PLEASE WRITE THIS PROGRAM IN PHP PHP Functions and Arrays Program name Charlie ate my Lunch! Part 1: Charlie will eat your lunch exactly 50%
PLEASE WRITE THIS PROGRAM IN PHP

PHP Functions and Arrays Program name Charlie ate my Lunch! Part 1: Charlie will eat your lunch exactly 50% of the time, write a function and name isBittenQ that returns TRUE with 50% probability, and FALSE otherwise. Hint: You may find the rand() function useful. Below the function, write code to generate a webpage that displays "Charlie ate my lunch!" or "Charlie did not eat my lunch!" using the isBitten() function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
