Code: Select all
CLS
COLOR 2
INPUT "Type something: ", s$
v$ = s$
c$ = s$
FOR i% = 1 TO LEN(c$)
IF MID$(s$, i%, 1) = "a" OR MID$(s$, i%, 1) = "e" OR MID$(s$, i%, 1) = "i" OR MID$(s$, i%, 1) = "o" OR MID$(s$, i%, 1) = "u" OR MID$(s$, i%, 1) = "y" THEN
MID$(c$, i%, 1) = " "
ELSE
MID$(v$, i%, 1) = " "
END IF
NEXT i%
PRINT LCASE(v$)
PRINT LCASE$(c$)
It print's out 2 lines one with vowels and one with normal alphabit
I have one problem i need it to print in lcase but it doesn't it prints only the secound line only .
Any ideas?