Computer Science, asked by singharchana1604, 7 months ago

The following is a method/function of some class. Give the output of the
function
perform() when the value of 'n' is 6579. Show the dry run/
working, void perform( int n)
{
ints=0,g;
while( n>0)
{
If (n%2==1)
n/=10;
g=n%10,
System.out.print("\n g = \t" +
g); s=s+g:
System.out.print("\n s = \/" + s);
PART - |(50 Marks)
SECTION - A
I 20 Marka)​

Answers

Answered by brundag
0

Answer:

I cant understand anything

Similar questions