# How can i return the max price value of a struct list?

**URL:** <https://racket.discourse.group/t/how-can-i-return-the-max-price-value-of-a-struct-list/891>\
**Category:** Questions & Answers\
**Tags:** question, drracket\
**Created:** [April 18, 2022, 10:20am UTC](https://racket.discourse.group/t/how-can-i-return-the-max-price-value-of-a-struct-list/891 "2022-04-18T10:20:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simonls](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/simonls/32/170_2.png) [@simonls](https://racket.discourse.group/u/simonls)\
**Post date:** [April 18, 2022, 12:12pm UTC](https://racket.discourse.group/t/how-can-i-return-the-max-price-value-of-a-struct-list/891/2 "2022-04-18T12:12:10Z")

</div>

Sadly I can't answer this question, because I don't have an edition of "How to Guess Programs", however libraries near you have a book called "How to Design Programs".

Emphasis **Design** , nobody wants to play "fix my program bingo" forever.

If you don't follow the advice and strategies you are given, then you don't learn to solve easy problems like this in a strategic way.

This is still "what does the function you call do?" like here:

> [@Confused on excerise on htdp](https://racket.discourse.group/t/confused-on-excerise-on-htdp/768/2):
>
> What does the exercise want you to do? What is boolean? what does it expect as input, what is its output? What are functions ending with a question mark ? called? Here is where functions are first introduced: [Prologue: How to Program](https://htdp.org/2018-01-06/Book/part_prologue.html#%28part._some-i%2Fo%29) In general it seems you have skipped parts of the book and it is difficult to help you, because I don't know which parts you may have skipped. And me giving you the solution wouldn't help you in learning. To make it easier to help us, help you, you should foll…

Don't just assume you understand parts of the program, actually proof to yourself that everything works as you think it does. Because only if you test your assumptions, you will find the mistakes.

---

_[View the full topic](https://racket.discourse.group/t/how-can-i-return-the-max-price-value-of-a-struct-list/891)._
