個人第八個代碼ide
#define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h>函數
int Add(int x, int y ){int z = x + y;return z;學習
}it
int main(){int a = 1;int b = 2;int sum = Add(a,b);printf("sum=%d\n", sum);return 0;}io
//學習定義一個函數(數字之和的函數)class