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

C实例 减法操作

#include <stdio.h>



int main() {

   int op1, op2, sub;      // variable declaration



   op1 = 5;                // variable definition

   op2 = 3;



   sub = op1 - op2;        // subtraction operation



   printf("Output of %d − %d is %d", op1, op2, sub);

}

目录

分类