History, asked by fivenine961, 6 months ago

The following is a method/function of some class. Give the output of the function comp()
when the value of a= 4 and b=7. Show dry run/working
[5]
void complint a, int b)
{
int an,s,k;
if(a<b)
{
s=a;
k=b;
}
else
{
s=b;
k=a;
}
an=k;
while(an%s!=0)
an+=k;
System.out.println("Answer = " + an);
}​

Answers

Answered by sachitg696
0

Answer:

bhai kuch smj nhi aa raha ache se type kr ke send kro and mark me in brainlist

Similar questions