हिंदी

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×