回 帖 发 新 帖 刷新版面

主题:编写一个程序将英语单词中以A或B大头的字母打印出来

编写一个程序将英语单词中以A或B大头的字母打印出来
BOY,DOG,Apple,ASC

回复列表 (共1个回复)

沙发

for i=1 to 4
    read a$
    if left$(a$,1)="A" or left$(a$,1)="B" then print a$
next

我来回复

您尚未登录,请登录后再回复。点此登录或注册