#include <stdio.h> int main(){ int a,b,c; int temp,max; scanf("%d%d%d",&a,&b,&c); temp=a>b?a:b; max=temp>c?temp:c; printf("%d\n",max); return 0; }
Double click to view unformatted code.