Thank you very much! That was the solution! The sum1 and sum2 were just something I was testing, but I knew they were wrong. Thank you! Here is the finished code:
int num=0;
int sumeven=0;...
Type: Posts; User: Gundown64
Thank you very much! That was the solution! The sum1 and sum2 were just something I was testing, but I knew they were wrong. Thank you! Here is the finished code:
int num=0;
int sumeven=0;...
Ok guys, I started working on this again. Cleaned a few things up and got my output to add spaces between the numbers. It's still not quite right, but it is getting closer. Here is my code:
int...
Hey guys, very new to programming and need some help with a homework problem.
Note a few things:
- This does not need to be a complete program, just what is asked above.
- This need to be a...
Oh, woops, my bad. Yes, I am in C++, don't know why I thought C, but thanks for the tips.
Also, if anyone can move this thread, that would be great.
No, this is a C programming class.
Hey guys, very new to programming and need some help with a homework problem.
Note a few things:
- This does not need to be a complete program, just what is asked above.
- This need to be a...