MC logo

CS 231 Assignment 1


CS 231 Programming Assignments

CSC 231

Assignment 1
Due: September 18, Midnight
15 Pts.

This is a relatively simple assignment to acquaint you with the mechanics of running and submitting an Lisp program.

Create file which defines the following Lisp functions. This file should work correctly when loaded into clisp.

(sumsqr x y z)
When called for numbers x, y, and z, return the sum of the squares of the numbers.

(themax x y z)
When called for numbers x, y, and z, return the largest of the three numbers. Do not use the built-in max function to write your function.

Submission

Submit your program using the form here.