1
0

More than 1 year has passed since last update.

【Java 条件分岐における数学との表現の違い】

Posted at

現在独学でJavaを学習中です。
この投稿はその備忘録になります。

「数学の表現」と「条件式の表現」

 「xは10より大きく、20より小さい」を表現する時、
数学では、

10 < x < 20

となりますが、
Javaの条件式では、

10 < x && x < 20

のように、「xは10より小さい、且つ、20より大きい」
となります。

1
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
1
0