Modulo.c
上传用户:dq031136
上传日期:2022-08-08
资源大小:802k
文件大小:0k
源码类别:

VC书籍

开发平台:

C++ Builder

  1. #include <stdio.h>
  2. void main(void)
  3.  {
  4.    int remainder;
  5.    int result;
  6.    result = 10 / 3;
  7.    remainder = 10 % 3;
  8.    printf("10 Divided by 3 is %d Remainder %dn", result, remainder);
  9.  }