मराठी

What message will be displayed, if the input for age is given as 20, for the following snippet.

Advertisements

प्रश्न

What message will be displayed, if the input for age is given as 20, for the following snippet?

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

उत्तर

if (age> = 18)
{
alert ("you are eligible to get Driving licence"}
}
else
alert ("you are not eligible to get driving licence");
}
shaalaa.com
Introduction of Conditional Statements in Java
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 15: Control Structure in Javascript - Evaluation [पृष्ठ ३३०]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 11 TN Board
पाठ 15 Control Structure in Javascript
Evaluation | Q 5. | पृष्ठ ३३०
Advertisements
Share
Notifications



      Forgot password?
Use app×