Comparator and 7 segment display
As this appears to be homework, I'll give some hints rather than an answer.


Look at the three patterns you need to display. Determine how many segments of the display actually ever need changing.
Decide what your inputs are. I presume you will have an '=' signal, a '&lt;' signal, and a '>' signal
Draw out a truth table for your inputs and outputs.
If it is not obvious from the table what the solution is (really it should be immediately obvious once you draw out the table!), make a Karnaugh map for each of the segments that ever change.