C语言除法运算 素材狗 1970-01-01 08:00:00 文章分类:C/C++实例代码 点击数:4次 文章标签 #include stdio.hint main() {int op1, op2, div;// variable declarationop1 = 6;// variable definition 编程学习网为您整理以下代码实例,主要实现: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); } 复制代码 上一篇:C语言减法运算 下一篇:C++预定义的宏 相关文章