摘要: 逻辑运算符 c语言中的逻辑运算符有&&(逻辑与)、||(逻辑非)、!(逻辑或)。其运算规则如下表 实例 #include<iostream> using namespace std; int main(){ int a = 1; int b = 2; int c; if(a && b){ print 阅读全文
posted @ 2019-09-14 15:42 pony.ma 阅读(545) 评论(0) 推荐(0) 编辑