मराठी

Give an example of a compound statement. - Computer Applications

Advertisements
Advertisements

प्रश्न

Give an example of a compound statement.

थोडक्यात उत्तर

उत्तर

if (a > b)
{ sum = a + b; 
pdt = a * b; 
}

In the example above, the statements placed in curly brackets are carried out if the condition is true. 

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 V. 6. (ii) | पृष्ठ १००
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×