Computer Science, asked by priyankadevkar216, 1 year ago

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 ArpitaNayak1
0
class arp
{
public void java ()
{
int a=-8;
while \:  (a >  = 0)
{
system.out.print ( a+" " );
a++;
}
}
}
Similar questions