#include<stdio.h> int main() { int max(int,int,int); int a,b,c; printf("Input 3 numbers:\n"); scanf("%d%d%d",&a,&b,&c); max(a,b,c); return 0; } int max(int x,int y,int z) { int temp,max; temp=(x>y?x:y); max=(temp>z?temp:z); printf("The max number is %d !\n",max); return (max); }