Computer Science, asked by hansdarani19, 5 months ago

Rewrite the following code Snippet by using while
loop.
do
{
r=n% 10;
n = n/10;
System.out. Print In (r)
}
while (n!=0);​

Answers

Answered by sonybangera7
3

while (n!=0)

{

r=n%10;

n=n/10;

system.out.println(r);

}

Similar questions