1
void test(int i)
{
int k=0, j;
for(j=1;j<=i;j++)
{ if (i%j==0)
 k++;
}
if(k==2)
 System.out.print("tested="+i);
else
 System.out.print("not tested ");
}

what will be the output if i=91, i=37

  • A

    not tested not tested

  • B

    tested not tested

  • C

    not tested tested=37

  • D

    tested=91 not tested