Computer Science, asked by yamunakempili, 2 months ago

. Program to print the square of first 6 natural numbers java

Answers

Answered by jayanisingh13
0

class xyz

{

void xy

{

int w;

for (int i =1; i<=6; i++)

{

int w = i*i

System.out.println (w);

}

}

}

Similar questions