Question: Given the following algorithm: Set count equal to one While count is less than 9 Divide count by two and save remainder as rem If
Given the following algorithm:
Set count equal to one
While count is less than
Divide count by two and save remainder as rem
If rem equals zero
Print hello to screen
End If
Increment count by one
End While
How many times is the word hello printed to screen
Question Select one:
a
b
c
d
e
None
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
