हिंदी

If ((p > q) andand (q > r)) then: (where p, q and r are three integer numbers) - Computer Applications

Advertisements
Advertisements

प्रश्न

If ((p > q) && (q > r)) then:

(where p, q and r are three integer numbers) 

विकल्प

  • q is the smallest number

  • q is the greatest number

  • p is the greatest number

  • None

MCQ

उत्तर

p is the greatest number

Explanation:

Assuming that the && operator gives 'true', the criteria (p > q) and (q > r) should hold true. Thus, p is the biggest number.

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. 3. | पृष्ठ ९८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×