मराठी

If (a < b andand a < c) (where a, b and c are three integer numbers) - Computer Applications

Advertisements
Advertisements

प्रश्न

If (a < b && a < c)

(where a, b and c are three integer numbers)

पर्याय

  • a is the greatest number

  • a is the smallest number

  • b is the greatest number

  • None

MCQ

उत्तर

a is the smallest number

Explanation:

Assuming the && operator returns 'true', both criteria (a < b) and (a < c) should be true. Hence, an is the smallest of the three numbers.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.08: Conditional Statements in Java - EXERCISES [पृष्ठ ९८]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.08 Conditional Statements in Java
EXERCISES | Q I. 5. | पृष्ठ ९८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×