Summer 1998

Programming in PERL

Assignment for Class 3 - 6/30/98

Read the material in chapters 5 and 6 and answer the questions at the end of the chapters. (The answers are in the back of the book.)

Write a PERL program which will read in two floating point numbers, checks to see which is bigger and prints the larger one first.  If they are equal, have it print a message and print out only one of them.

Modify the second program from the last assignment to use += operator.

Modify program 4.5 so that it puts spaces between the concatenated lines.