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

C实例 除法操作

#include <stdio.h>



int main() {

   int op1, op2, div;      // variable declaration



   op1 = 6;                // variable definition

   op2 = 3;



   div = 6 / 3;            // division operation



   printf("Output of %d divide by %d is %d", op1, op2, div);

}

目录

分类