Function - pass by reference - duplication?[EDIT]: FurryGuy beat me to it; I concur.
The function asks the input twice.
functions, loops and decisions. please help?[quote]how do i make them add together like he wants?[/quote]
what am i doing wrong here?On your code, line 7 is [output]cout << i;[/output]
Just take the portion of the code out.
what am i doing wrong here?[quote]How come they are all numbered? [/quote]
what am i doing wrong here?I dont know what the code is supposed to be doing; however, I make some recommendations.
Link to Fun...