橘子味的心
标题:C实例 加法操作

C实例 加法操作

#include <stdio.h>



int main() {

   int op1, op2, sum;      // variable declaration



   op1 = 5;                // variable definition

   op2 = 3;



   sum = op1 + op2;        // addition operation



   printf("sum of %d and %d is %d", op1, op2, sum);

}

目录

分类