title: Simple algorithm for finding maximum and minimum of given values
body: <p>No code is needed, only simple math theory.</p>
  
  <p>Like:</p>
  
  <ul>
  <li>print "enter your age" </li>
  <li>read(age)</li>
  <li>if age>20</li>
  <li>result="adult"</li>
  <li>print"you are"</li>
  <li>print(result)</li>
  </ul>
  
  <p>I am going to attend C language classes but before that I want to learn some basics.
  I need a program/algo that finds maximum and minimum of three numbers using <strong>multiple-if or nested-if</strong>.</p>