Computer Science, asked by 36214700rai, 7 months ago

state the final value of q after the execution of [3]

the given program. Show the dry run

int m,n,p,q;

for(m=2;m<=3;++m)

{

for(n=1;n<=m;++n)

{

p=m+n-1;

if(p%3==0)

q+=p;

else

q+=p+4;

}

}

Answers

Answered by MoonWings
0

Answer:

you are written a wrong program

Similar questions