Assignments

Create the diagram pages from the lesson. In each place a header identifying the page. The menu must be placed in an include file to be used from all pages.

Consider linking upwards. What is necessary? Do you want to use bread crumbs? Do you want to link horisontally?

Create the required pages in such a way that all links work!

Write a program that throws a die. The outcome of a throw is an integer between 1 and 6. Make the throw itself as output of a function. Test.

When the function works, make 100 throws and calculate the relative frequencies of ones, twos, etc. Present the result in a nicely formatted table.

Write a program that creates a Centigrade/Fahrenheit conversion table. The program must first convert C2F, then F2C, in separate tables.

Print the results nicely formatted in XHTML tables on a page. The conversion formula is C = 5/9*(F-32).