Sunday 24 January 2021

VBScript Class - 3

 

VBScript Class - 3 by S P SHARMA CLASSES (7048972696)


<html>

<body>

<b id="k"></b>

<script type="text/VBScript">

a=6

b=4

document.write(a<>b & "<br/> Hello")

'document.write(a!=b & "<br/>")

document.write("a=b" & a = b & "<br/>")

document.write(a mod b & "<br/>")

document.write(a & "<br/> India")

document.write(b & "<br/>")

document.write(a+b & "<br/> Delhi")



a=5-2*2/5^3

document.write("<br/>a=" & a & "<br/>")

b=6*2/3

document.write("<br/>b=" & b & "<br/>")



a=True

if a =true then

document.write("Hello India"& "<br/>")

end If

document.write(a& "<br/>")



a=inputBox("Enter a number")

if a = 5 then

document.write("Hello Delhi"& "<br/>")

else

document.write("India"& "<br/>")

end if

</script>

</body>

</html>

No comments:

Post a Comment