KnowledgeBoat Logo

Computer Applications

If(a < b && a < c)

  1. a is the greatest number
  2. a is the smallest number
  3. b is the greatest number
  4. none (where a, b and c are three integer numbers)

Java Conditional Stmts

11 Likes

Answer

a is the smallest number

Reason — Assuming that the && operator results in 'true', both the conditions (a < b) and (a < c) should hold true. Hence a is the smallest of the three numbers.

Answered By

5 Likes


Related Questions