. Program to print the square of first 6 natural numbers java
Answers
Answered by
0
class xyz
{
void xy
{
int w;
for (int i =1; i<=6; i++)
{
int w = i*i
System.out.println (w);
}
}
}
Similar questions