Computer Science, asked by Anonymous, 1 year ago

What is the answer of 10th question?


#help

Attachments:

Answers

Answered by nain31
1
ANSWER..

FOR LOOP..

for (initialization ;condition; updation)
{
statement;
}

for(i=0;i<=10;i++)
{
i++;
}

SWITCH CASE

switch(variable)
{
case 1:break;
case 2:break;
}

switch(i)
{
case 1:
System. out. printl("hello");break;
case 2:
System.out.println("bye");break;
}


HOPE IT HELPS
Similar questions