Computer Science, asked by kumarsarvesh8880, 1 year ago

Write a program thta given two integers a and b returns the maximum number of repeated square root operations.

Answers

Answered by cadngpa
0

Answer:

Given two given numbers a and b where 1<=a<=b, find the number of perfect squares between a and b (a and b inclusive).

Explanation:

Input : a = 3, b = 8 Output : 1 The only perfect in given range is 4. Input : a = 9, b = 25 Output : 3 The three squares in given range are 9, 16 and 25

Similar questions