Question

How many times will the Write statement be executed based on the following pseudocode? Declare HelloCount...

How many times will the Write statement be executed based on the following pseudocode?

Declare HelloCount As Integer

Set HelloCount = 1

Repeat

Repeat

Write "Hello"

Set HelloCount = HelloCount + 1

Until HelloCount <=1

Until HelloCount == 2

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The Write statement will be executed 2 times

Output:

hello hello

since the hello count==2, the write statement will exected 2 times

Add a comment
Know the answer?
Add Answer to:
How many times will the Write statement be executed based on the following pseudocode? Declare HelloCount...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT