c++ cZar
Saturday, December 5, 2009
Find the maximum of three integers using the ternary operator.
max = ((a>b)?((a>c)?a:c):((b>c)?b:c));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)

## No comments:

## Post a Comment