Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help using the program Dr Racket , with settings on \"Beginner Language\"

ID: 3549162 • Letter: P

Question

Please help using the program Dr Racket , with settings on "Beginner Language".

http://racket-lang.org/download/


any help would be appreciated.


T>You are assigned to develop a system that will classify skiing and mountain biking trails according to their difficulty. There are three difficulty ratings: Easy, Intermediate, and Advanced. Use the HtDD recipe to design a data definition to represent trail difficulty ratings (call it Difficulty) The difficulty rating of a trail is often represented visually by a coloured shape. Easy trails are indicated by a green circle, intermediate trails by a blue square, and advanced trails by a black diamond. Design a function called trail-symbol that takes a Difficulty and produces an image of the symbol used to represent it. Hint: you may want to use the built-in function rhombus. A pet supply store categorizes dogs into sizes based on weight. There are 3 weight categories corresponding to 3 sizes: Dogs weighing under 15.5 kg are considered small. Dogs weighing 15.5 to 30 kg are considered medium. Dogs weighing more than 30 kg are considered large. Use HtDD to design a data definition for a dog's weight (call it Weight). Use HtDD to design a data definition for a dog's size (call it Size). Design a function that takes a dog's weight and produces the corresponding size according to our description in problem 3.

Explanation / Answer

U want to write the code ? In which language ? Is C preferable ?

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote