1 #define _CRT_SECURE_NO_WARNINGS 2 #include<stdio.h> 3 int main() 4 { 5 int a, b, c; 6 int max; 7 scanf("%d,%d,%d", &a, &b, &c); 8 if (a > b) 9 { 10 max = a; 11 } 12 else 13 { 14 max = b; 15 } 16 if (max > c) 17 { 18 printf("%d", max); 19 } 20 else 21 { 22 printf("%d", c); 23 } 24 return 0; 25 }