Tuesday, July 4, 2017

Module 2 - CST 336

This week was very interesting. We did not utilize much from the previous week’s lesson other than hosting our new assignment pages and adding a few lines of css styling to give our projects some flavor. It was quite interesting to learn about PHP, it seems to be a relatively straightforward language and seems easier to learn. I used it to create two pages, assignment 2 and lab 2 for my course portfolio which I linked to from my homepage. For my assignment, which we were given some creative freedom on, I created a grid that would randomly print out numbers check if they were prime or composite and collect the number of primes and composites, it was similar to the lab but I needed another for loop to check whether the number was prime or not and I also threw in something special for a lucky number.

No comments:

Post a Comment