我一直在拉我的头发试图弄清楚这一点。我想设计一个函数接收一个学生,我让另一个学生具有相同的内容并且他的年龄转换为狗年。关于如何开始的任何想法?这个确切的问题将出现在我周五的开卷测试中。
(define-struct hsstudent (first-name last-name classroom overall-grade age))
(define hsstudent1 (make-hsstudent "Randy" "Smith" 'WH '-A 14))
(define hsstudent2 (make-hsstudent "Jon" "James" 'AH '-A 13 ))
(define hsstudent3 (make-hsstudent "Alex" "Manzi" 'LO '+A 16))
(define hsstudent4 (make-hsstudent "Kevin" "Matthews" 'WH '-A 14))
(define hsstudent5 (make-hsstudent "Issac" "Lewis" 'AH '-A 13 ))
(define hsstudent6 (make-hsstudent "Michael" "Gabbin" 'LO '+A 16))