Computer Science, asked by wwwalison8888a, 6 months ago

Give output of the following function where x and

y are arguments greater than 0. Show the dry

run/working.

void confusing ( int x, int y )

{

int d=2;

While(d<=x)

{

if (x % d = = 0 )

{

System.out.print( d + “ “ );

x= x / d;

}

else

d = d +1;

}

}

(i) What will the function confusing (24) displaying? (2)

(ii) What will the function confusing (15) displaying? (2)

(iii) In one line, state what the function confusing() is displaying.​

Answers

Answered by tripathishivansh12
0

Answer:

lse

d = d +1;

}

}

(i) What will the function confusing (24) displaying? (2)

(ii) What will the function confusing (15) displaying? (2)

(iii) In one line, state what the function confusing() is displaying.

Answered by Ankur239
0

Answer:

Bahut lamba hai mereko itna time nahi hai padhne ka

agli baar padh ke bolna

Tab tak hum iska answer dete hai

2+2=5

PROVED !

HAVE A NICE DAY.....TO ME

Similar questions