home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH02 / A02171.TXT < prev    next >
Encoding:
Text File  |  1993-11-15  |  281 b   |  6 lines

  1. You can use an if statement to alter the flow of control in a C++
  2. program.  Here, one of two assignments statements is executed.  If
  3. "a" is greater than "b", the value of "a" is assigned to the object
  4. "x".  If "a" is not greater than "b", the value of "b" is assigned
  5. to "x".
  6.