On 21 Oct 2006 20:36:19 -0700 in comp.lang.c++,
wrote,
>hi,i have a aquestion that i don't know how to compare the smallest and
>the largest between five intergers.could anyone help me,thanks.
Show the code that you have written. Describe how the result
differs from what you wanted. Ask specific questions.
This issue is covered in Marshall Cline's C++ FAQ. See the topic
"[5.2] How do I get other people to do my homework problem for me?"
It is always good to check the FAQ before posting. You can get the
FAQ at:
http://www.parashift.com/c++-faq-lite/
See the welcome message posted twice per week in comp.lang.c++ under
the subject "Welcome to comp.lang.c++! Read this first." or
available at
http://www.slack.net/~shiva/welcome.txt