I'm working on an algorithm that finds the smallest element among a, b, and c.
Here is what I have so far:
Input: a,b,c
Output: small; smallest element in the sequence a,b,c
a = 2, b = 4, c = 3
Small = a
If b < small, then small = b
If c < small, then small = c
Is...