Saturday, October 26, 2019


32.ERASE VOWEL FROM INPUT STRING .



DECLARE FUNCTION ERA(A$)
CLS
INPUT"ENTER ANY STRING";A$
PRINT"STRING WITHOUT VOWELS =";ERA(A$)
END

FUNCTION ERA(A$)
FOR I = 1 TO LEN (A$)
B$=MID$(A$,I,1)
C$=UCASE$(B$)
IF C$<>"A" AND C$<>'E" AND C$<>"I" AND C$<>"O" AND C$<>"U" THEN D$=D$+C$
END IF
NEXT I
ERA=D$
END FUNCTION

No comments:

Post a Comment

beautiful

Covid-19 Pandemic In Nepal

  Covid-19 Pandemic In Nepal Covid-19 Is the world wide pandemic in today's context.Not only Nepal but various country are suffering it....