- Home
- Output Questions for Class 10 ICSE Computer Applications
Give output of the following function definition and also write the
Output Questions for Class 10 ICSE Computer Applications
Give output of the following method definition and also write the mathematical operation they carry out:
void test1(int n)
{
for(int x=1; x<=< span>n; x++)
if(n%x == 0)
System. out.println(x);
}
=<>
if 12 is passed to n.