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