Jump to content

help urgent


nishafav

Recommended Posts

can any1 plz help me write this code...

 

i want to print the valu of variable z.

there are three variables x, y and z

 

x is initialized some where else...

                                          y=x          z=z+y

 

first call of function      x=10        y=10        z=10

second call                  x=20        y =20        z=20+10

third call                  x=30        y= 30        z=30+30

fourth call                  x=40        y=40        z=90+40

 

and so on

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.