Computer Science, asked by jamesmckeown847, 3 months ago

write an algorithm of finding a square​

Answers

Answered by tanishka1568
5

Answer:

Explanation: Algorithm is as follows: Divide the number in two parts with one part containing only the number at unit's place say part 'A', and other part say 'B', containing the remaining number. Now square the number at unit's place. The square will be one of these; {0,1,4,9,16,25,36,49,64,81}.

Similar questions