Thursday, February 2, 2012

Re: [ vuZs.net ] kindly correct answer



 ► If(studentMarks>70)
{
document.write( "Grade A");
}

Above is the right answer

There is no semicolon after  IF (conditional) statement.

Regards

Zubair Hussain
www.vuzs.net



On Thu, Feb 2, 2012 at 2:23 PM, faiza shoukat <faizafaiza123@gmail.com> wrote:
If(studentM a r k s>70);
(
document.write( "Grade A");
}

Which of following is correct format of above code:
       ►              If(studentM a r k s>70);
            (
                 document.write( "Grade A");  
                  };
       ► If(studentM a r k s70)
(
document.write( "Grade A");
}
       ► If(studentM a r k s>70)
{
document.write( "Grade A")
}
►              None of above options

--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
 
To post a new message on this group, send email to vuZs@googlegroups.com
 
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email to vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe

--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
 
To post a new message on this group, send email to vuZs@googlegroups.com
 
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email to vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe

No comments:

Post a Comment