5.1
来源:互联网 发布:百度搜索排名算法 编辑:程序博客网 时间:2024/06/05 10:06
#include<stdio.h>int main(){int a,b;scanf("%d",&a);if(a>=0)printf("%d\n",a);else{b=-(a); printf("%d\n",b);}return 0;}
测试结果:
知识点 :if else
阅读全文
0 0
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 5.1
- 判断网络请求方式工具类
- Java设计模式--观察者模式
- docker使用——容器不能访问外网
- leetcode---longest-palindromic-substring---字符串
- 反射在android中的应用
- 5.1
- 如何用线程Asynctask获取网络数据
- 不依赖具体activity弹出全局性弹窗
- MySQL之视图
- 正则表达式
- 网络连接+HttpUrlConnection+AsyncTask
- LeetCode.500 Keyboard Row
- Hessian的基本使用
- 前端开发者不得不知的ES6十大特性