answersLogoWhite

0

There are multiple ways to generate that particular string, several more than can be listed in one answer. For example:

CLS

PRINT "1 3 5"

or

CLS

REM An easy "1 through 5, odds only" FOR loop.

FOR X = 1 TO 5 STEP 2

PRINT X;

NEXT X

or even

CLS

INPUT "Please type in a number series with no line breaks (spaces okay):", numbers$

PRINT numbers$

User Avatar

Wiki User

17y ago

Still curious? Ask our experts.

Chat with our AI personalities

RossRoss
Every question is just a happy little opportunity.
Chat with Ross
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake

Add your answer:

Earn +20 pts
Q: How do you generate a series 1 3 5. using qbasic?
Write your answer...
Submit
Still have questions?
magnify glass
imp