加减乘除

#include
int add(int a, int b){
            int c=a+b;
            return c;
}
int multiply(int a ,int b){
            int c=a*b;
            return c;
}
int divide(int a,int b){
            int c=a/b;
            return c;
}

//entry point 
int main(){
          int a=100;
          int b=200;
          int y=add(a,b);
           printf("%d\n",y);
}

你可能感兴趣的:(加减乘除)