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

VC书籍

开发平台:

C++ Builder

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. void main(void)
  4.  {
  5.    printf("The absolute value of %d is %dn", 5, abs(5));
  6.    printf("The absolute value of %d is %dn", 0, abs(0));
  7.    printf("The absolute value of %d is %dn", -5, abs(-5));
  8.  }