accept a number and count it's even factors. BlueJ
Answers
Answered by
0
Answer:
class alpha
{
static void main(int n)
{
int c =0 ;
for (int i=1 ; i<= n;i++)
{
if ( i%n==0)
c++;
}
System.out.println(c);
}
}
Similar questions