Question: Write PHP code to generate one number from the following numbers (Paste your code and program output in a word document and submit it) 1.

Write PHP code to generate one number from the following numbers (Paste your code and program output in a word document and submit it) 1. a) 1 to 10 2. b) -2 to 20 3. c) O to 11 2) Write PHP code to simulate the following (Paste your code and program output in a word document and submit it)

Toss a coin 100 times to generate heads or tails and print the number of times heads and tails occurs.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!