cls
input" enter any string";a$
f=Len(A$)
d=1
AA:
b$= mid$(a$,d,1)
d=d+1
c=asc(b$)
if c=101 or c=105 or c=970 or c=111 or c=117 then
cnt= cnt+1
end if
if d<=f then goto aa
print cnt;
end
Chat with our AI personalities
wap to count number of vowels in a given string
Write a program that calculates the area of a triangle in QBASIC
Well, in QBasic, to write the "not equal to" sign, you can use the "<>" symbol. It's like two friends standing side by side, but not quite holding hands - they're similar, but not exactly the same. Just remember, in the world of QBasic, this symbol will help you show when things are not equal.
a triangle then a square :)
you do this 10 print "0112358132134" use the whole of the thing
There is no shortcut key of input in qbasic