0% found this document useful (0 votes)
17 views1 page

Practical 3 Perfect Square

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views1 page

Practical 3 Perfect Square

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Question 1: Perfect Square

A perfect square is a number that is the product of an integer


multiplied by itself. For example, 16 is a perfect square because 16 = 4
×4.
You can determine whether a number is a perfect square by checking if
the square root of that number of a whole number, i.e. contains no
fractional part. If the square root is a whole number, then the initial
number is a perfect square.
Writeaprogram that display all of the perfect squares less than 1000.

You might also like