Write a program thta given two integers a and b returns the maximum number of repeated square root operations.
Answers
Answered by
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
Art,
6 months ago
Math,
6 months ago
Hindi,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
English,
1 year ago
Biology,
1 year ago
Accountancy,
1 year ago