answersLogoWhite

0

In BASIC:

10 INPUT X: IF X = 999 THEN STOP ELSE PRINT X;

20 IF X/2 = INT(X/2) THEN PRINT "EVEN" ELSE PRINT "ODD"

30 GOTO 10

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
RossRoss
Every question is just a happy little opportunity.
Chat with Ross

Add your answer:

Earn +20 pts
Q: Write the program witch show that the number is even or odd?
Write your answer...
Submit
Still have questions?
magnify glass
imp