how to write a program in java using do while loop to print this series -8 -7 -6 -5 -4 -3 -2 -1 0
Answers
Answered by
0
class arp
{
public void java ()
{
int a=-8;
{
system.out.print ( a+" " );
a++;
}
}
}
{
public void java ()
{
int a=-8;
{
system.out.print ( a+" " );
a++;
}
}
}
Similar questions