show_abs.c
来自「不错书对C++/C程序员很有用的大家不要错过.」· C语言 代码 · 共 10 行
C
10 行
#include <stdio.h>
#include <stdlib.h>
void main(void)
{
printf("The absolute value of %d is %d\n", 5, abs(5));
printf("The absolute value of %d is %d\n", 0, abs(0));
printf("The absolute value of %d is %d\n", -5, abs(-5));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?