MCPcopy Create free account
hub / github.com/E869120/math-algorithm-book / minimum

Function minimum

codes/c/Code_5_04_1.c:4–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include <stdlib.h>
3
4int minimum(int a, int b) {
5 return (a < b ? a : b);
6}
7
8int maximum(int a, int b) {
9 return (a > b ? a : b);

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected