This document contains a VBScript program to check if a given character is a vowel or not. The program uses an input box to prompt the user to enter a character, then uses an if/else statement to check if the character is equal to a, e, i, o or u, and writes to the document whether it is a vowel or not a vowel.
This document contains a VBScript program to check if a given character is a vowel or not. The program uses an input box to prompt the user to enter a character, then uses an if/else statement to check if the character is equal to a, e, i, o or u, and writes to the document whether it is a vowel or not a vowel.
This document contains a VBScript program to check if a given character is a vowel or not. The program uses an input box to prompt the user to enter a character, then uses an if/else statement to check if the character is equal to a, e, i, o or u, and writes to the document whether it is a vowel or not a vowel.
This document contains a VBScript program to check if a given character is a vowel or not. The program uses an input box to prompt the user to enter a character, then uses an if/else statement to check if the character is equal to a, e, i, o or u, and writes to the document whether it is a vowel or not a vowel.
Download as DOCX, PDF, TXT or read online from Scribd
Download as docx, pdf, or txt
You are on page 1of 3
VILLA MARIE DEGREE COLLEGE FOR WOMEN-SOMAJIGUDA-HYDERABAD
49(b).write a VBScript program to check whether the given character is vowel.
<HTML> <HEAD> <TITLE>49(b).vowel or not</title> <script type=text/vbscript> Sub vowel() n=inputbox(enter the character) if(n=a" or n="e"or n="i" or n="o" or n=u) then document.write(n&is a vowel) else document.write(n& is not a vowel)end if end sub </script> </HEAD> </BODY> <script type=text/vbscript> Callvowel() </script> </BODY> </HTML>
VILLA MARIE DEGREE COLLEGE FOR WOMEN-SOMAJIGUDA-HYDERABAD
VILLA MARIE DEGREE COLLEGE FOR WOMEN-SOMAJIGUDA-HYDERABAD