menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
11. Find the output of the following programs: CLS X= 7 FOR I = 1 to 10 PRINT X IF X MOD 2 = 0 THEN X= X/2 ELSE X=X* 3+1 END IF Next I END
asked
Jan 9, 2022
149k
views
5
votes
11. Find the output of the following programs:
CLS
X= 7
FOR I = 1 to 10
PRINT X
IF X MOD 2 = 0 THEN
X= X/2
ELSE
X=X* 3+1
END IF
Next I
END
Computers and Technology
high-school
Bill Venners
asked
by
Bill Venners
8.1k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
5
votes
Answer:
See picture.
Step-by-step explanation:
Ran it on repl it.
Winston Kotzan
answered
Jan 15, 2022
by
Winston Kotzan
9.2k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jul 7, 2022
62.7k
views
Write the output of the following program: CLS a=20 FOR x = 1 to a IF x MOD 2 < > 0 THEN S S+x END IF NEXT X PRINT S END
Palden
asked
Jul 7, 2022
by
Palden
8.2k
points
Computers and Technology
high-school
1
answer
5
votes
62.7k
views
asked
Aug 25, 2024
30.5k
views
Support System Mk 13 Mod 0 is used in sets of how many to store CCLS or CLS TOMAHAWK missiles during shore based magazine stowage?
Marwan Salim
asked
Aug 25, 2024
by
Marwan Salim
8.4k
points
Engineering
college
1
answer
1
vote
30.5k
views
asked
May 10, 2021
104k
views
CLS INPUT "Enter your marks in computer": CS C>40 THEN PRINT "You are passed. ELSE PRINT "You are failed." IF END DEBUG THE PROGRAM
Alexandru
asked
May 10, 2021
by
Alexandru
7.3k
points
Computers and Technology
high-school
1
answer
1
vote
104k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org