CS100 Lecture Notes - Lecture 7: Natural Number, Asteroid Family

46 views2 pages

Document Summary

Keep them in your labs folder, with the name liiqj for lab ii, question j. Download the headers for each function from the file labinterface07. rkt linked off the labs page on the course web site. This lab makes use of the following structure and data definitions: (define-struct event (type dur)) ;; an event is a structure (make-event t d), where. ;; * t is a symbol (the type of event) and. ;; * d is a positive integer (the duration in minutes). (define-struct card (value suit)) ;; a card is a structure (make-card v s), where. ;; * v is an integer in the range from 1 to 10 and. ;; * s is a symbols from the set "hearts, "diamonds, ;; "spades, and "clubs. (define-struct clock (hours mins)) ;; a clock is a structure (make-clock h m), where. ;; * h is an integer in the range from 0 to 23 and.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions