Finding the Maximum of Two Knafns
Here’s a small function that you might write to find the maximum of two Knafns.
Knafn maximum(Knafn a, Knafn b)
{
if (a > b)
return a;
else
return b;
}
Previous slide
Next slide
Back to first slide
View graphic version