Q BASIC PROGRAM TO ERASE VOWELS FROM THE STRING. FUNCTION
DECLARE FUNCTION ERASE(A$)
CLS
INPUT "ENTER ANY STRING";A$
PRINT "STRING WITHOUT VOWELS=" ;ERASE(A$)
END
FUNCTION ERASE(A$)
B$=UCASE$(A)
FOR I = 1 TO LEN(B$)
C$=MID$(B$,I,1)
IF C$<>"A" AND C$<>"E" AND C$<>"I" AND C$<>"O" AND C$<>"U" THEN D$=D$+1
END IF
NEXT I
ERASE = D$
END FUNCTION
Search This Blog
Wikipedia
Search results
Subscribe to:
Post Comments (Atom)
Journey of Jagat Mandir H. S. School When I was at the age of three I joined the school in the village. When I came to K...
-
Journey of Jagat Mandir H. S. School When I was at the age of three I joined the school in the village. When I came to K...
-
VISIT TO ELECTION COMMISSION IN 2076 BHADRA 3(TUESDAY) WE WENT TO ELECTION TO LEARN THE ELECTION PROCESS AND HOW PEOPLE ELECTION PROCESS....
-
Dashain is the religious festival of Nepal. It is the longest and the most auspicious festival in the Nepalese annual calendar, celebr...
No comments:
Post a Comment