Void test (int n)
{
for(int i=1;i<=n; i++)
if (n%i==0)
Sopln(i);
}
Answers
Answered by
0
Answer:
Program will print factors of number input
Explanation:
void test (int n)
{
for(int i=1;i<=n; i++)
if (n%i==0)
sopln(i);
}
everything should be in small case though
Similar questions