all-perfect-squaresPerfect squares: A perfect square is a number which is the square of a number. In other words, a perfect square is a product of two equal numbers.

For ex:

4: 2*2 (Product of two equal numbers)

9: 3*3 (Product of two equal numbers)

16: 4*4 (Product of two equal numbers)

This program doesn’t take any input from the user. It just prints all the perfect squares between 1 to 100.

OUTPUT

all-perfect-squares

All perfect squares between 1 to 100 – Java Program
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *