Posted By

sylvan on 07/12/06


Tagged

table c dimensional two dimension


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

copyleft


Two-Dimensional Table


 / Published in: C++
 

  1. // Loop used for two-dimensional iterations for a table
  2. // useful for tabular output
  3. for(int x = 1;x<=9;x++)
  4. {
  5. cout<<endl;
  6. for(int i = 1;i<=9;i++)
  7. {
  8. cout<<"\t"<<x*i;
  9. }
  10. }

Report this snippet  

You need to login to post a comment.