CS100 Lecture Notes - Lecture 8: Prime Number, Natural Number

49 views1 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 le labinterface08. rkt linked off the. After you have completed a question (except class exercises), including creating tests for it, you can obtain feedback by submitting it and requesting a public test. Follow the instructions given in the style guide. For example, (make-sqr-al 1 2) will yield (list (list 1 1) (list 2 4)): optional open-ended questions in the game war , two players compete to collect cards. In each turn, the topmost cards in each stack are compared, with the winner (the player with the higher card value) collecting both. If there is a tie between card values, each player keeps their own card. Create a function war that consumes two lists of cards, hand1 and hand2, and produces the contents of hand1 at the end of a round.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents