Computer Science, asked by skapsar7571, 6 months ago

Find the algorithm to find sqare of a number

Answers

Answered by Harshita504
0

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