001 — C Exercise 001
View Source
001求两个整数的较大值.c
#include <stdio.h>
int main(void)
{
int a, b, c;
scanf("%d %d", &a, &b);
c = a;
if (b > a)
{
c = b;
}
printf("%d", c);
return 0;
}Original source only. External dependencies may be needed; standalone compilation is not guaranteed.