What is the output of the code snippet given below
int i;
int j = 0;
for (i = 0; i < 5; i++)
{
if (i % 2 == 0)
{
i = i + 2;
j++;
}
else
{
i++;
j = j + 2;
}
j++;
}
System.out.println("i=" + i + ", j=" + j);
a) i=7, j =7
b) i =7, j =6
c) i =6, j =7
d) i =5, j =5