LoginSignup
0
0

More than 1 year has passed since last update.

演算子いろいろ

Posted at

論理積 &&

x && y :左辺も右辺もtrueの場合にtrue(左辺 かつ 右辺)
論理和 ||

x || y :左辺か右辺のどちらかがtrueの場合にtrue(左辺 または 右辺)
論理否定 !

!x  :xがtrueの場合にfalse、xがfalseの場合にtrue

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0