Lesson 3
Hello, Chuck is back.
Today is Thursday, November 21, 2024 and I am back with Lesson 3 for the LVS Online PHP learning course.
Exercise 1 — Loopty Loops
This use of loops is to provide a table of a number between 2 and 6 raised to a power from 2 to 5.
n\exp | 2 | 3 | 4 | 5 |
---|---|---|---|---|
2 | 4 | 8 | 16 | 32 |
3 | 9 | 27 | 81 | 243 |
4 | 16 | 64 | 256 | 1024 |
5 | 25 | 125 | 625 | 3125 |
6 | 36 | 216 | 1296 | 7776 |
Exercise 2 — Reading Files
Choose a file to process
Exercise 3 — Writing to a File
If you are so interested, I am preparing a newsletter to be sent out on a monthly basis. If you would like to receive this bit of information, please provide your email address in the space below.
My Homepage — Imaging and Art