I'm going to cut right to the chase and show some code:
Now I know this is a matter of style, but do you think it's better to get right into the processing as I do here with product being given a value at the start? Or.... do it like this...Code:while(times_value < 11) { product = 7 * times_value; cout << "7 x " << times_value << " = " << product << endl; times_value++; }
Where the info is printed and processed in the same way you would think it out? I know this is a stupid question, I'm just curious what other people think about the order of statements.Code:while(times_value < 11) { cout << "7 x " << times_value << " = "; product = 7 * times_value; cout << product << endl; times_value++; }
-Chap



LinkBack URL
About LinkBacks


