Sunday, December 04, 2005

Assignments due Wednesday

Quiz on IF statements Tuesday...

Using all the concepts learned in class (variables, if statements, loops) complete the following exercises by Wednesday:

  1. Write a PHP program that takes in the distance traveled and gallons of gas used and returns the miles per gallon traveled. (One grade due Wednesday.)
  2. Write a PHP program that takes in two numbers and sorts them according to smallest to largest. The program will return the small number and then the large number. If the numbers are equal the program will return : numbers are equal (One grade due Wednesday)!
Programs will receive full credit ONLY if they work on the class server.

0 Comments:

Post a Comment

<< Home