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
3
Explanation:
there should be i--.
plz mark the brainliest
Answered by
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