Computer Science, asked by jannatzubair2929, 11 months ago

rewrite the following program

1. Using do while:
class Test
{
public static void main(String args[])
{
int x,c;
for(x=10,c=20;c>=10;c=c-2)
{
x++;
System.out..println(x);
{
{
{​

Answers

Answered by khushiraj37
1

Explanation:

Using do while:

class Test

{

public static void main(String args[])

{

int x,c;

for(x=10,c=20;c>=10;c=c-2)

{

x++;

System.out..println(x);

{

{

{

Similar questions