In my first program I was asked to output the perfect squares less than the value n.
int i = 0;
int x = 0;
int n = in.nextInt();
while (i < n)
{
i = x*x;
System.out.print(i +...
Type: Posts; User: Litost
In my first program I was asked to output the perfect squares less than the value n.
int i = 0;
int x = 0;
int n = in.nextInt();
while (i < n)
{
i = x*x;
System.out.print(i +...