Quote Originally Posted by Salem
Code:
int product ( int x, int y ) {
return 12345;
}
If that doesn't print 12345, then look at what you're doing
- are you editing the right file?
- are you saving it?
- are you recompiling it?
- did it recompile without any warnings or errors?
When you get it to print 12345, then replace it with Cactus_Hugger's original suggestion.
yes to everything u asked

and oddly enough - when i put it to return 12345.. it STILLL returned three, when i typed three in as my first variable.. is there something wrong with my compiler?

does it compile correctly when u guys do it?

:-/