samiullahshakil131 samiullahshakil131
  • 11-12-2021
  • Computers and Technology
contestada

Implement a function mystery( ) that takes as input a positive integer n and answers this
question. How many times can n be halved (using integer division) before reaching 1?

Respuesta :

edwinlozada190
edwinlozada190 edwinlozada190
  • 12-12-2021
Count= 0
While n > 1
n = n
Count += 1
Return count
Answer Link

Otras preguntas

I need help This is due today and im so not smart.!!!!!!
HELP! ANSWER CORRECT FOR BRAINIEST AND 25 points! (Click question to see pic)
Railroad crossing signs come in what two kinds of shapes? A. Circle and crossbuck B. Circle and pentagon C. Octagon and equilateral triangle D. Diamond and
more free stuff bby take it all btw keep watching for my user bc i am gonna do this a ton more
You decide to clean the bathroom. You notice that the shower is covered in a strange green slime . you try to get rid of this slime by adding lemon juice to wat
True or false: Removing the parenthesis from (16-7) x (3+4) will change the result.
3. Why is it important to understand how 9/11 affected the u.s and much of the world?
why is Jumla colder than Kathmandu​
If 30.943g of liquid occupies a space of 35.0mL, what is the density of the liquid in g/cm
Wrote the volume of each figure and the number sentence you used to find it. Then Circle the card that would win the round of prism pile - up. Remember V = Leng