English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

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

Advertisements
Advertisements

Question

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

Answer in Brief

Solution

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
  Is there an error in this question or solution?
Chapter 15: Control Structure in Javascript - Evaluation [Page 330]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 15 Control Structure in Javascript
Evaluation | Q 5. | Page 330
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×