zoukankan
html css js c++ java
运算符(2)
1.三目运算符
/*
三目运算符
/
public class demo1 {
public static void main(String[] args) {
int score = 80;
String type = score<60?"不及格":"及格";
System.out.println(type);
}
}
2.运算符优先级
逻辑非>逻辑与>逻辑或
a||b&&c的运算结果是a||(b&&c)
查看全文
相关阅读:
POJ 2594 Treasure Exploration(最大路径覆盖)
POJ 2516 Minimum Cost(最小费用最大流)
城市面积
python strip()函数
python sys.path.append
python调用shell,python与shell间变量交互
远程登陆强大命令screen
pythonLevenshtein几个计算字串相似度的函数解析
python 程序bug解决方案
python 全局变量
原文地址:https://www.cnblogs.com/ma1998/p/11435951.html
最新文章
预习 Delphi 2009 中的新功能 JSON (一) : 什么是 JSON?
爱在盘古初开时(转)
简单的装修一下
我信缘分了~!
时间~!
查看所有 Unicode 字符 [Delphi 2009]
窦唯马上迎来艳阳天
Delphi 2009 之 TStringBuilder 类[1]: Create
原来阴雨天也不错~!
试试带参数的 Exit
热门文章
生活随写
Delphi 2009 之 TStringBuilder 类[2]: Append 与 AppendFormat
POJ 2940 Wine Trading in Gergovia(简单贪心)
POJ 3436 ACM Computer Factory(最大流)
POJ 2195 Going Home(最小费用最大流)
POJ 3252 Round Numbers(数学问题)
POJ Power Network(最大流)
POJ 3281 Dining(最大流)
POJ 1087 A Plug for UNIX(最大流)
POJ 2771 Guardian of Decency(二分匹配,最大独立集)
Copyright © 2011-2022 走看看