Computer Science, asked by prarabhdhigoswami, 5 months ago

Q. Identify all the error in the following statement:
i. for (int i = 5; i > 0; i++)
{
System.out.println("Java is fun!");
}​

Answers

Answered by priyanshu9419
3

Explanation:

there should be i--.

plz mark the brainliest

Answered by jyotirajranjan76
0

Answer:

there should be i--

Explanation:

correct syntex will be:

for(int i = 5; i>0; i--)

{

System. out.println(" Java is Fun!");

}

!!!! I HOPE IT WILL HELP YOU !!!

Similar questions