;;; ======================================== ;;; CMPU-101, Spring 2013 ;;; Lab 5 ;;; ======================================== (display "\n CS101 Lab 5, Spring 2013\n") (display "\n PLEASE WRITE YOUR NAME HERE\n\n") (newline) (newline) ;; INSTRUCTIONS FOR THIS LAB CAN BE FOUND IN TEXT FILE ;; lab5inst.txt (POSTED ALONG WITH THIS LAB) ; ; USE THIS DATA DEFINITION FOR PROBLEMS 1 THROUGH 3 ; ; A list of anything (LOX) is either: ; 1. empty, or ; 2. it's a (cons x lx), where x is anything and lx ; is an LOX one element smaller than (cons x lx). ; (display "Problem 1. COUNT-STRINGS\n\n") ; Contract: ; Header: ; Purpose: ; Pre-function Tests: ; Function definition: ;;Post-function printfs: (newline) (newline) (display "Problem 2. FIRST-NUMBER\n\n") ; Contract: ; Header: ; Purpose: ; Pre-function tests: ;;Function definition: ;;Post-function printfs: (newline) (newline) (display "Problem 3. PRINT-NUMERIC\n\n") ; Contract: ; Header: ; Purpose: ; Pre-function tests: none possible because of side-effect printing ; Function definition: ; Post-function tests: (newline) (newline)