函数的定义与调用

Run Settings
LanguageC
Language Version
Run Command
#include <stdio.h> int bigger(int a, int b) { if (a > b) return a; else return b; } int main(void) { int num1 = 0, num2 = 0; printf("请输入两个不等整数,用空格隔开\n"); scanf("%d%d", &num1, &num2); int res = bigger(num1, num2); printf("较大一个是 %d", res); return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines