subject

Write a function solution that, given two integers a and b, returns the maximum number of repeated square root operations that can be performed using the numbers from the interval [a..b](both ends included) as starting points. square root operations can be performed as long as the result is still an integer.
for example, given a = 10, b = 20, the function should return 2. starting with the integer 16, two square root operations can be performed: sqrt(16) = 4 and then sqrt(4) = 2.
given a = 6000 and b = 7000, the function should return 3. starting with integer 6561, three square root operations can be performed: sqrt(6561) = 81, sqrt(81) = 9 and sqrt(9) = 3.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:20
Q-3 a technician is setting up a computer lab. computers on the same subnet need to communicate with eachother peer to peer communication,a. hardware firewallb. proxy serverc. software firewalld. gre tunneling
Answers: 3
question
Computers and Technology, 22.06.2019 06:00
Write a function that draws a pool ball. this function should take as parameters, the color, the number that should go on the pool ball, and the location of the center of the pool ball. the radius of the pool balls should be pool_ball_radius, and the font of the number should be pool_ball_font. the text of the pool ball font should be white. drawpoolball(color.orange, 5, 100, 100); drawpoolball(color.green, 6, 50, 200); drawpoolball(color.red, 3, 150, 350); drawpoolball(color.blue, 2, 250, 140); to center the numbers on the pool ball, you should use the getwidth() and getheight() methods. you are allowed to call these methods on your text object, such as txt.
Answers: 3
question
Computers and Technology, 22.06.2019 11:00
Which law requires employers to provide safe working environments for their employees? a. civil rights act b. fair labor standards act c. occupational safety and health act d. wagner act
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Why is an outfitting a workspace with video games in a technology development company considered a strategic use of money
Answers: 1
You know the right answer?
Write a function solution that, given two integers a and b, returns the maximum number of repeated s...
Questions
question
Mathematics, 08.12.2020 21:00
question
Arts, 08.12.2020 21:00
question
Mathematics, 08.12.2020 21:00
Questions on the website: 13722367