Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Incrementing and Decrementing - Just Trying to Understand

Incrementing and Decrementing - Just Trying to Understand

Scheduled Pinned Locked Moved C#
learningcomquestion
64 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N N8tiv

    I get the basic parts of incrementing and decrementing a variable by one. Maybe because I'm not quite thinking like a programmer yet, is why I don't understand this code below. "Console.WriteLine(y); // result = 99 — The value of y after" - this is what's confusing me. How do you get 99 when there is no loop? And doesn't 100 become 99 before you add it to 10? Of course after compiling this, it worked. It came from a book from BrainMeasures dot com. They said the book was even for novices (PSSH) Dummy it down for me quite a bit please. :-) LOL

    using System;

    class ArithmeticOperators
    {
    public static void Main()
    }
    int x = 10;
    int y = 100;
    int z = y-- + x;
    Console.WriteLine(z); // result = 110
    Console.WriteLine(y); // result = 99 — The value of y after
    // decrementing
    z = --z + x;
    Console.WriteLine(z); // result = 119
    }
    }

    My Coding Journey

    K Offline
    K Offline
    Kevin Bewley
    wrote on last edited by
    #41

    This line is the important one: int z = y-- + x; it says to the computer, assign y + x into a variable called z. When you've done that knock one off the stored value of y. so, in the line int z = y-- + x; z gets assigned with 100 + 10 (110) then y gets reduced to 99. In the line z = --z + x; The operation goes; knock one off z then assign the sum of z + x to z. ie. take 1 off 110(z) to get 109; THEN assign 109+10 to z. Basically if the ++ or -- is BEFORE the variable name (--y) then the operation is done BEFORE the rest of the line. But, if the ++ or -- is AFTER the variable name, the operation is done AFTER the rest of the line. Simples! :-)

    L 1 Reply Last reply
    0
    • N N8tiv

      where it confuses me, if you look at the example I posted… The variable y takes on a new value after evaluating the expression. In my head, I was applying that same logic/thinking too my exercise. I also thought, in my exercise… That the variable y would also take on the new value (in this case, 110) after evaluating the first expression. My Coding Journey

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #42

      It does. But since you don't use "y" in the second expression that doesn't have any effect. Changing the value in "y" doesn't affect the value in "x" or "z" - it's like they are separate pockets. Adding coins to your shirt pocket doesn't affect the number of coins in either of your trouser pockets! :laugh: So:

      int x = 10;
      int y = 100;
      int z = y;
      y = y++ + x;
      // At this point, X = 10, y = 110 and z = 100;
      z = ++z + x;
      // At this point, X = 10, y = 110 and z = 111

      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      N 1 Reply Last reply
      0
      • K Kevin Bewley

        This line is the important one: int z = y-- + x; it says to the computer, assign y + x into a variable called z. When you've done that knock one off the stored value of y. so, in the line int z = y-- + x; z gets assigned with 100 + 10 (110) then y gets reduced to 99. In the line z = --z + x; The operation goes; knock one off z then assign the sum of z + x to z. ie. take 1 off 110(z) to get 109; THEN assign 109+10 to z. Basically if the ++ or -- is BEFORE the variable name (--y) then the operation is done BEFORE the rest of the line. But, if the ++ or -- is AFTER the variable name, the operation is done AFTER the rest of the line. Simples! :-)

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #43

        It's actually slightly more complicated, as I demonstrate here[^]

        K 1 Reply Last reply
        0
        • L Lost User

          It's actually slightly more complicated, as I demonstrate here[^]

          K Offline
          K Offline
          Kevin Bewley
          wrote on last edited by
          #44

          I know - BUT, why the hell would anyone write such a monstrosity. ;P Also, as it was clearly a beginner question, I was trying to simplify. So you get 10/10 for correctness but 2/10 for being clear for the sake of the OP.. :omg:

          L N 2 Replies Last reply
          0
          • K Kevin Bewley

            I know - BUT, why the hell would anyone write such a monstrosity. ;P Also, as it was clearly a beginner question, I was trying to simplify. So you get 10/10 for correctness but 2/10 for being clear for the sake of the OP.. :omg:

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #45

            It would also matter in the cases of y = y++ + x; which OP is trying to understand..

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              It does. But since you don't use "y" in the second expression that doesn't have any effect. Changing the value in "y" doesn't affect the value in "x" or "z" - it's like they are separate pockets. Adding coins to your shirt pocket doesn't affect the number of coins in either of your trouser pockets! :laugh: So:

              int x = 10;
              int y = 100;
              int z = y;
              y = y++ + x;
              // At this point, X = 10, y = 110 and z = 100;
              z = ++z + x;
              // At this point, X = 10, y = 110 and z = 111

              The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

              N Offline
              N Offline
              N8tiv
              wrote on last edited by
              #46

              Okay, I get what you're saying about the different pockets. This variable y in this exercise is clearly not the same as the variable y in the example. In the example: y takes on the new value after evaluating the expression. Okay, I understand (sort of) In the exercise: y does not take on a new value after evaluating the first expression. Different pockets and something like that. Okay, I guess my question is: When it is postfix, the variable takes on the new value? When it is prefix, the variable does not take on the new value? My Coding Journey

              OriginalGriffO 1 Reply Last reply
              0
              • N N8tiv

                Okay, I get what you're saying about the different pockets. This variable y in this exercise is clearly not the same as the variable y in the example. In the example: y takes on the new value after evaluating the expression. Okay, I understand (sort of) In the exercise: y does not take on a new value after evaluating the first expression. Different pockets and something like that. Okay, I guess my question is: When it is postfix, the variable takes on the new value? When it is prefix, the variable does not take on the new value? My Coding Journey

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #47

                No, no - sorry, I'm probably confusing you. Let's go right back to the beginning. Assume we have a function with just a two lines of code:

                int x = 10;
                Console.WriteLine(x);

                If we run it, we obviously get "10" printed. So let's start with that and add bits between the two lines.

                int x = 10;
                x++;
                Console.WriteLine(x);

                Will print 11, because the post increment adds one to the value of x

                int x = 10;
                ++x;
                Console.WriteLine(x);

                Will also print 11, because the pre increment adds one to the value as well. Prefix and postfix operations always affect the value of the variable; the only difference is when the variable is altered. With prefix, the variable is altered before it's value is used: So

                int x= 10;
                int y = ++x;
                Console.WriteLine("x={0}, y = {1}", x, y);

                will give us "x = 11, y = 11" because x was altered before it's value was used in the expression. This is the equivalent of writing:

                int x = 10;
                x = x + 1;
                int y = ++x;
                Console.WriteLine("x={0}, y = {1}", x, y);

                With post fix, the variable is altered after its's value is used in the expression:

                int x = 10;
                int y = x++;
                Console.WriteLine("x={0}, y = {1}", x, y);

                Will give us "x=11, y = 10" and is the equivalent of writing:

                int x= 10;
                int y = x;
                x = x + 1;
                Console.WriteLine("x={0}, y = {1}", x, y);

                Does that make sense so far?

                The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                N 1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  No, no - sorry, I'm probably confusing you. Let's go right back to the beginning. Assume we have a function with just a two lines of code:

                  int x = 10;
                  Console.WriteLine(x);

                  If we run it, we obviously get "10" printed. So let's start with that and add bits between the two lines.

                  int x = 10;
                  x++;
                  Console.WriteLine(x);

                  Will print 11, because the post increment adds one to the value of x

                  int x = 10;
                  ++x;
                  Console.WriteLine(x);

                  Will also print 11, because the pre increment adds one to the value as well. Prefix and postfix operations always affect the value of the variable; the only difference is when the variable is altered. With prefix, the variable is altered before it's value is used: So

                  int x= 10;
                  int y = ++x;
                  Console.WriteLine("x={0}, y = {1}", x, y);

                  will give us "x = 11, y = 11" because x was altered before it's value was used in the expression. This is the equivalent of writing:

                  int x = 10;
                  x = x + 1;
                  int y = ++x;
                  Console.WriteLine("x={0}, y = {1}", x, y);

                  With post fix, the variable is altered after its's value is used in the expression:

                  int x = 10;
                  int y = x++;
                  Console.WriteLine("x={0}, y = {1}", x, y);

                  Will give us "x=11, y = 10" and is the equivalent of writing:

                  int x= 10;
                  int y = x;
                  x = x + 1;
                  Console.WriteLine("x={0}, y = {1}", x, y);

                  Does that make sense so far?

                  The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                  N Offline
                  N Offline
                  N8tiv
                  wrote on last edited by
                  #48

                  Yes, it is all a little confusing… While I was reading what you are trying to explain. I was trying to do it in my head before going on to reading the next few lines. The postfix I ended up getting them backwards in my head. x=10 and y=11 you said the variable is altered after its value is used. I think I'm getting confused on exactly which variable. x is the variable with the postfix attached to it, so… That is the one I'm thinking that it's altered. When in fact it is the variable y that is assigned to the variable x that is being altered. My Coding Journey

                  OriginalGriffO 1 Reply Last reply
                  0
                  • N N8tiv

                    Yes, it is all a little confusing… While I was reading what you are trying to explain. I was trying to do it in my head before going on to reading the next few lines. The postfix I ended up getting them backwards in my head. x=10 and y=11 you said the variable is altered after its value is used. I think I'm getting confused on exactly which variable. x is the variable with the postfix attached to it, so… That is the one I'm thinking that it's altered. When in fact it is the variable y that is assigned to the variable x that is being altered. My Coding Journey

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #49

                    The pre and post fix operations always affect the variable they are attached to: x++ or ++x will both increment the value of x by one, and they on there own will not affect the value of any other variables. So when you use it in an expression:

                    int x = 10;
                    int y = ++x;

                    the prefix op affects x only. y gets changed only because it is where the result of the expression on the RHS of the equals sign is stored when it is complete. This is kinda difficult to explain without diagrams or being able to see your eyes glaze over... :laugh: Let's try this:

                    int x = 10;
                    int y = x++ + 5;

                    This is evaluated as: 1) Set x equal to 10 2) Process the RHS of the line: 2.1) Get the value of x and save it for later 2.2) Incrmement x by one (so x is now 11) 2.3) Use the value you saved in 2.1 (10) and add 5 to it -> 15 save this as the result 3) Save the result of step 2 (which was 15) into y. So you end up with x = 11, and y = 15 Prefix is the same process:

                    int x = 10;
                    int y = ++x + 5;

                    This is evaluated as: 1) Set x equal to 10 2) Process the RHS of the line: 2.1) Incrmement x by one (so x is now 11) 2.2) Get the current value of x (11) and add 5 to it -> 16 save this as the result 3) Save the result of step 2 (which was 16) into y. So pre- and post- fix ops affect the variable they are attached to, but when they affect them changes. OK so far?

                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    N 1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      The pre and post fix operations always affect the variable they are attached to: x++ or ++x will both increment the value of x by one, and they on there own will not affect the value of any other variables. So when you use it in an expression:

                      int x = 10;
                      int y = ++x;

                      the prefix op affects x only. y gets changed only because it is where the result of the expression on the RHS of the equals sign is stored when it is complete. This is kinda difficult to explain without diagrams or being able to see your eyes glaze over... :laugh: Let's try this:

                      int x = 10;
                      int y = x++ + 5;

                      This is evaluated as: 1) Set x equal to 10 2) Process the RHS of the line: 2.1) Get the value of x and save it for later 2.2) Incrmement x by one (so x is now 11) 2.3) Use the value you saved in 2.1 (10) and add 5 to it -> 15 save this as the result 3) Save the result of step 2 (which was 15) into y. So you end up with x = 11, and y = 15 Prefix is the same process:

                      int x = 10;
                      int y = ++x + 5;

                      This is evaluated as: 1) Set x equal to 10 2) Process the RHS of the line: 2.1) Incrmement x by one (so x is now 11) 2.2) Get the current value of x (11) and add 5 to it -> 16 save this as the result 3) Save the result of step 2 (which was 16) into y. So pre- and post- fix ops affect the variable they are attached to, but when they affect them changes. OK so far?

                      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                      N Offline
                      N Offline
                      N8tiv
                      wrote on last edited by
                      #50

                      X| :confused: ;P :laugh: my eyes glaze over long time ago, every time I open my book on C#… The clear mucus has to be removed with concrete trowel. "The ++ and -- operators also support prefix notation, as described in Section 7.6.5. The result of x++ or x-- is the value of x before the operation, whereas the result of ++x or --x is the value of x after the operation. In either case, x itself has the same value after the operation." http://msdn.microsoft.com/en-us/library/aa691363(v=vs.71).aspx[^ "In either case, x itself has the same value after the operation." x has the same value, after were done evaluating the expression that it is in? Did I understand that right? In my exercise: Start with the following assignments: int x = 10; int y = 100; int z = y; Then write a C# program to compute and display the values of the variables y and z after executing these expressions: y = y++ + x; z = ++z + x; So, now the variable y never really changes in the first expression. Using what MSDN described in their article, now the variable y returns to its original value of 100 even though it never really changed in the first place for the first expression. Right? Now the second expression makes sense to me now on why it would be 111. My Coding Journey

                      OriginalGriffO 1 Reply Last reply
                      0
                      • N N8tiv

                        X| :confused: ;P :laugh: my eyes glaze over long time ago, every time I open my book on C#… The clear mucus has to be removed with concrete trowel. "The ++ and -- operators also support prefix notation, as described in Section 7.6.5. The result of x++ or x-- is the value of x before the operation, whereas the result of ++x or --x is the value of x after the operation. In either case, x itself has the same value after the operation." http://msdn.microsoft.com/en-us/library/aa691363(v=vs.71).aspx[^ "In either case, x itself has the same value after the operation." x has the same value, after were done evaluating the expression that it is in? Did I understand that right? In my exercise: Start with the following assignments: int x = 10; int y = 100; int z = y; Then write a C# program to compute and display the values of the variables y and z after executing these expressions: y = y++ + x; z = ++z + x; So, now the variable y never really changes in the first expression. Using what MSDN described in their article, now the variable y returns to its original value of 100 even though it never really changed in the first place for the first expression. Right? Now the second expression makes sense to me now on why it would be 111. My Coding Journey

                        OriginalGriffO Offline
                        OriginalGriffO Offline
                        OriginalGriff
                        wrote on last edited by
                        #51

                        WidmarkRob wrote:

                        Did I understand that right?

                        :laugh: No, it's a bit badly explained: it isn't referring to the whole expression, just the little "x++" or "++x" bit - it doesn't matter if you do prefix or postfix, the value of x is the same after them both. That doesn't mean it is unchanged, just that it doesn't matter which you do, they both affect the variable in the same way.

                        y = ++x + 10;

                        y = x++ + 10;

                        What it's saying is that if x started at 100, in both cases it will be 101 afterward, despite y getting a different value each time.

                        WidmarkRob wrote:

                        So, now the variable y never really changes in the first expression.

                        y does get changed by the postfix increment, it's just that the changed value is overwritten with the total from the whole expression.

                        The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                        N 1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          WidmarkRob wrote:

                          Did I understand that right?

                          :laugh: No, it's a bit badly explained: it isn't referring to the whole expression, just the little "x++" or "++x" bit - it doesn't matter if you do prefix or postfix, the value of x is the same after them both. That doesn't mean it is unchanged, just that it doesn't matter which you do, they both affect the variable in the same way.

                          y = ++x + 10;

                          y = x++ + 10;

                          What it's saying is that if x started at 100, in both cases it will be 101 afterward, despite y getting a different value each time.

                          WidmarkRob wrote:

                          So, now the variable y never really changes in the first expression.

                          y does get changed by the postfix increment, it's just that the changed value is overwritten with the total from the whole expression.

                          The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                          N Offline
                          N Offline
                          N8tiv
                          wrote on last edited by
                          #52

                          Aaaahhhh... maybe I get it now, maybe… Give me a simple exercise… Maybe just barely, a little bit tiny bit harder than what I've been working with to see if I understand right. I'll try to do it in my head really quick before I go and open Visual C# Express. Your last line: "y does get changed by the postfix increment, it's just that the changed value is overwritten with the total from the whole expression." Kind of sort of little a lightbulb in my head. D'oh My Coding Journey

                          OriginalGriffO 1 Reply Last reply
                          0
                          • N N8tiv

                            Aaaahhhh... maybe I get it now, maybe… Give me a simple exercise… Maybe just barely, a little bit tiny bit harder than what I've been working with to see if I understand right. I'll try to do it in my head really quick before I go and open Visual C# Express. Your last line: "y does get changed by the postfix increment, it's just that the changed value is overwritten with the total from the whole expression." Kind of sort of little a lightbulb in my head. D'oh My Coding Journey

                            OriginalGriffO Offline
                            OriginalGriffO Offline
                            OriginalGriff
                            wrote on last edited by
                            #53

                            :laugh: I like lightbulb moments! Try this:

                            int x = 10;
                            int y = 100;
                            int z = ++x + (y++ * x);
                            Console.WriteLine("x = {0}, y = {1}, z= {2}", x, y, z);

                            If you can work that out in your head, you are doing very, very well! Normally, they don't get that complex - they are generally used for array indexes as such like:

                            byte[] data = File.ReadAllBytes(@"D:\Temp\MyFile.txt");
                            int i = 0;
                            do
                            {
                            if (data[i++] == 'x')
                            {
                            break;
                            }
                            } while (i < data.Length);

                            The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                            N 2 Replies Last reply
                            0
                            • OriginalGriffO OriginalGriff

                              :laugh: I like lightbulb moments! Try this:

                              int x = 10;
                              int y = 100;
                              int z = ++x + (y++ * x);
                              Console.WriteLine("x = {0}, y = {1}, z= {2}", x, y, z);

                              If you can work that out in your head, you are doing very, very well! Normally, they don't get that complex - they are generally used for array indexes as such like:

                              byte[] data = File.ReadAllBytes(@"D:\Temp\MyFile.txt");
                              int i = 0;
                              do
                              {
                              if (data[i++] == 'x')
                              {
                              break;
                              }
                              } while (i < data.Length);

                              The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                              N Offline
                              N Offline
                              N8tiv
                              wrote on last edited by
                              #54

                              x = 10 y = 100 z = 1112 lightbulbs still on? My Coding Journey

                              OriginalGriffO 1 Reply Last reply
                              0
                              • N N8tiv

                                x = 10 y = 100 z = 1112 lightbulbs still on? My Coding Journey

                                OriginalGriffO Offline
                                OriginalGriffO Offline
                                OriginalGriff
                                wrote on last edited by
                                #55

                                I think you had a brief power cut...:laugh:

                                The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                N 1 Reply Last reply
                                0
                                • OriginalGriffO OriginalGriff

                                  I think you had a brief power cut...:laugh:

                                  The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                  N Offline
                                  N Offline
                                  N8tiv
                                  wrote on last edited by
                                  #56

                                  my electrons, neutrons and protons all turned into morons My Coding Journey

                                  OriginalGriffO 1 Reply Last reply
                                  0
                                  • OriginalGriffO OriginalGriff

                                    :laugh: I like lightbulb moments! Try this:

                                    int x = 10;
                                    int y = 100;
                                    int z = ++x + (y++ * x);
                                    Console.WriteLine("x = {0}, y = {1}, z= {2}", x, y, z);

                                    If you can work that out in your head, you are doing very, very well! Normally, they don't get that complex - they are generally used for array indexes as such like:

                                    byte[] data = File.ReadAllBytes(@"D:\Temp\MyFile.txt");
                                    int i = 0;
                                    do
                                    {
                                    if (data[i++] == 'x')
                                    {
                                    break;
                                    }
                                    } while (i < data.Length);

                                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                    N Offline
                                    N Offline
                                    N8tiv
                                    wrote on last edited by
                                    #57

                                    z = 1012 ???:confused::confused::confused: My Coding Journey

                                    OriginalGriffO 1 Reply Last reply
                                    0
                                    • N N8tiv

                                      my electrons, neutrons and protons all turned into morons My Coding Journey

                                      OriginalGriffO Offline
                                      OriginalGriffO Offline
                                      OriginalGriff
                                      wrote on last edited by
                                      #58

                                      Maybe one or two of them! :laugh:

                                      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                      N 2 Replies Last reply
                                      0
                                      • OriginalGriffO OriginalGriff

                                        Maybe one or two of them! :laugh:

                                        The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                        N Offline
                                        N Offline
                                        N8tiv
                                        wrote on last edited by
                                        #59

                                        Ah S4!T... *Siiiiigh* Let me look at it again… This time I will type it out so you can see how I get my answers. My Coding Journey

                                        1 Reply Last reply
                                        0
                                        • OriginalGriffO OriginalGriff

                                          Maybe one or two of them! :laugh:

                                          The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                          N Offline
                                          N Offline
                                          N8tiv
                                          wrote on last edited by
                                          #60

                                          before I go look at it again… Did I get x and y right? Is it z, that I got wrong? My Coding Journey

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups