DECLARE SUB DISPLAY(N$)
CLS
INPUT"ENTER ANY NUMBER";N$
CALL DISPLAY(N$)
END
SUB DISPLAY"(N$)
FOR I=1 TOO LEN(N$)
B$=MID$(N$,I,1)
C$=UCASE$(B$)
IF C$="A" OR C$"E" OR C$="I" OR C$="I" OR C$="O" OR C$="U" THEN D$=D$+B$
NEXT I
PRINT"VOWELS=";D$
END SUB
Subscribe to:
Post Comments (Atom)
Experience of Quarantine and SEE canceled
Our SEE was canceled due to the outbreak of Corona Virus (COVID-19). It's been 3 months since the Nepalese people have been staying home...
-
Our SEE was canceled due to the outbreak of Corona Virus (COVID-19). It's been 3 months since the Nepalese people have been staying home...
-
DECLARE FUNCTION ERA(A$) CLS INPUT"ENTER ANY STRING";A$ PRINT"STRING WITHOUT VOWELS =";ERA(A$) END FUNCTION ERA(A$) B$=U...
-
DECLARE FUNCTION CONVERT (F) CLS INPUT “ENTER TEMPERATURE IN FAHRENHEIT”; F PRINT “TEMPERATURE IN CELSIUS=”; CONVERT (F) END FU...
No comments:
Post a Comment