Zebra0.com

cpp conditionalFinds smallest and largest

Finds smallest and largest

This example reads in two numbers and finds the smallest and largest. Notice that there are two assignments for each condition. There are separated by a comma.