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

C实例 乘法操作

#include <stdio.h>



int main() {

   int op1, op2, mul;      // variable declaration



   op1 = 5;                // variable definition

   op2 = 3;



   mul = op1 * op2;        // multiplication operation



   printf("Output of %d multiplied by %d is %d", op1, op2, mul);

}

目录

分类