Show_abs.c
Upload User: dq031136
Upload Date: 2022-08-08
Package Size: 802k
Code Size: 0k
Development Platform:

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.  }