|
|
|
|
hello world! Enter 2 Single Digit Numbers 5 <- cin a 5 <- cin b 10 <- first output Are you having fun yet? Gimme 2 more please 5 <- cin a 5 <- cin b 20 <- so its passing 10 to function1 in the .h 10 <- but Main still thinks this is 10 Your total all together is 10 <- wrong!! |
x = function1(x);