Files
clearn/max.c

19 lines
250 B
C
Raw Normal View History

2017-02-07 20:03:49 +00:00
#include <stdio.h>
int maximum (int a, int b, int c)
{
int hilfe;
if (a > b)
hilfe = a;
else hilfe = b;
if (hilfe > c)
return hilfe;
else
return c;
}
int main ()
{
puts ("\n\x1b[2J");
printf ("\nMaximin: %d", maximum(10,33,12));
return 0;
}