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, 22.06.2019 15:00
Who is the first president to use social media as part of his campaign strategy
Answers: 1
question
Computers and Technology, 24.06.2019 07:20
Ingrid started speaking about her slide presentation. when she clicked to th"third slide, which had just a picture of an elephant, she forgot what she wassupposed to talk about. what could ingrid do to avoid this situation in thefuture? oa. print handouts for her audience.ob. add presenter's notes to each slide.oc. add a video to each slide.od. save her slide presentation to a flash drive
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
Under the home tab, where can a user find options to change the bullet style of an outline? in the slides group in the font group in the paragraph group in the drawing group
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
What are the benefits to using presentations to organize and deliver information in the workplace? they add visual appeal. they are easy to update. they ensure accuracy. they can be created quickly. the work can't be lost.
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
English, 27.05.2020 03:57
question
Health, 27.05.2020 03:57
Questions on the website: 13722363